Displaying 20 results from an estimated 8000 matches similar to: "Switchtower for production?"
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2006 Jan 22
6
SwitchTower with public key authentication?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
BEWARE: this is not a Rails question, but a SwitchTower question. I am asking
here because SwitchTower is usually employed with Rails.
I am developing what we may call a "distributed video player" in Ruby (this is
NOT a Rails application). It works this way: I have several boxes that play
videos and one server, where I store the
2006 Aug 09
2
Gruff gives font-related error
Hello Railslist,
I''m trying to get Gruff running on OSX Tiger (intel) with edge Rails.
I''ve installed ImageMagick, Rmagick, FreeType and all their
dependencies, or so I believe. (I''ve compiled them from source mostly,
following a recent tutorial for Rails and ImageMagick on Intel Macs)
While following the sample on the Gruff downloadpage (the one with the
fruit), Rails
2006 May 24
4
AR foreign key problem.
Hello Railslist,
(I''m using RadRails 0.6.3 on Windows XP with Ruby 1.8.4, Rails 1.1 and SQLite3)
I have two tables in the database: "locations" and "customers":
customers.sql
---
id INT PRIMARY KEY
name VARCHAR 255
address VARCHAR 255
postal_code VARCHAR 255
city VARCHAR 255
---
locations.sql
---
id INT PRIMARY KEY
postal_code TEXT
longitude FLOAT
latitude FLOAT
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run
"rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed
error. The version of Switchtower I''m using is 1.0.0 and the deploy task is
the default supplied with Switchtowe.
However, I dont have any problem when :db is changed to the same as :web and
:app.
-------------- next part
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5),
with ruby and friends installed via darwinports in opt/local.
After installing ST, I switchtowerized my app, set up the deploy recipe,
then ran:
rake remote_exec ACTION=setup
When I do, i get this error:
rake aborted!
uninitialized constant SwitchTower
Obviously, this happens with any of the tasks in ST (like
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go
figure?).
Could Switchtower use be inverted?
Could user, clients, or customers install switchtower and "pull"
applications?
Just a thought.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi !
Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps,
I changed the port sshd listens to.
I'm trying to setup SwitchTower, and I don't know how to set the port.
Where should that be configured ? I can't see anything in
switchtower.rake, nor can I see it in the source.
If this already exists, can anybody point me to documentation. If
not, can I get any
2005 Dec 22
3
Does Switchtower support svn+ssh://
All the examples I''ve seen have the SSH repository accessed via http://
Does Switchtower support svn+ssh:// URLs?
Jake
--
Posted via http://www.ruby-forum.com/.
2006 Feb 19
2
SwitchTower 1.0.0
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2006 Jul 12
2
(Re-)designing a CMS
Hello Rails-list,
I''m working on a CMS in Rails.
The company that I work for currently uses a CMS written in PHP, and I
want to mimick it in Rails, and improve along the way.
The PHP variant works with templates like this:
In the root of the webdir, there are the template files, named
cms_news.html for example.
This page contains custom tags, in the form of definitions and
2006 Nov 04
1
acts_as_tree repeats
Hello Railslist,
I want to draw a simple single-table Acts_as_tree model.
I''ve read some articles about it and read the API docs, and now I''ve
got this running:
in controller I have:
---
def index
@pages = Page.find(:all)
end
---
in the model for Page I have ofcourse:
---
acts_as_tree :order => "position"
---
in the helper I have;
---
def
2006 Feb 07
6
Switchtower not working due to openssl not found
I''m struggling to get switchtower working, and from other posts about
it I know it has something to do with ruby binding to open ssl. I''m
just not sure what I should recompile/reinstall to get things to work.
running: "rake remote_exec ACTION=setup" gives me --->
...executing "mkdir -p -m 775 /usr/apps/hello-rails/releases
/usr/apps/hello-rails/shared/system
2006 Jan 17
2
Switchtower & OpenSSL
I''ve been deploying local applications into production (both linux boxes)
with Switchtower, and I''ve had no problems, until now.
I just tried doing a "rake deploy", and I get this error:
============
[update_code] exception while rolling back: NameError, uninitialized
constant OSSL
rake aborted!
no such file to load -- openssl
============
Now, on both the production
2006 Feb 23
2
SwitchTower remote_exec migrate
Hello
I''m doing rake remote_exec ACTION=migrate and I get an output with
servers []:
loading configuration
c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task migrate
executing "cd /var/www/catalyst/current && rake RAILS_ENV=production
migrate"
servers: []
processing command
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one
problem: It doesn''t successfully restart lighttpd. I have the
following task in my deploy.rb file:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "/usr/local/etc/rc.d/lighttpd.sh restart"
end
This is on a FreeBSD system, so it''s using the rc script to
2006 Feb 01
18
Switchtower Error
This is my deploy file
set :application, "varcasa stage"
set :repository, "file:///c:/svnrepo/thenali/trunk"
#
=============================================================================
# ROLES
#
=============================================================================
# You can define any number of roles, each of which contains any number of
# machines. Roles might
2006 Mar 01
3
SwitchTower: Two development environments
Hi
I have a problem here. I am developing an application which has a local
development environment (on my harddisk), a second one for my customer
(for testing new features) and a production environment which runs
actual application online.
How can I setup SwitchTower to have a possibility to deploy just for a
particular server?
Thanks,
Peter