similar to: Problem with Rake ''remote_exec'' for Capistrano/Switchtower

Displaying 20 results from an estimated 4000 matches similar to: "Problem with Rake ''remote_exec'' for Capistrano/Switchtower"

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
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel I have SwitchTower-ized my app, copied the shovel deploy.rb file and put my settings in it. But when I run "rake remote_exec ACTION=setup_lighty" from the local app root it has no effect. It should prompt for a password for at least throw an error? I just get returned to the DOS prompt. If I do "rake
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy" from my local box (windows) to my shared hosting If I set the repository to (deploy.rb): set :repository, "file:///home/[my_user]/repo/[my_app]/trunk" My local box (windows) can''t reach the subversion repository located in site5 If I set the repository to: set :repository,
2006 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on <http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like: set :user, ''dankohn'' set :application, "flydash.com" set :repository, "http://svn.flydash.com/flydash/flydash" #set :repository, "svn+ssh://home/#{user}/svn/flydash" #set :repository,
2005 Dec 27
2
Praise Switchtower (plus a quick question)
Switchtower is really cool once you get it going. Quick question, I do a: % rake deploy % rake remote_exec ACTION=symlink_pictures ...but what''s the easiest way to combine the two in a single command? Thanks CM -- Posted via http://www.ruby-forum.com/.
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 25
0
Shovel Switchtower deployment
Hello, Iam trying to use Shovel deployment as explained here http://nubyonrails.com/pages/shovel. Iam currently using windows as my development environment and *nix to deploy the application. I have changed all the dispatch.* files to be executable. but when I run rake remote_exec ACTION=setup_lighty it asks for my password and installs lighttpd and other stuff, but fails on task update_code.
2006 Apr 10
1
Capistrano/SwitchTower "current" dir deployment question
All, I have successfully executed the "deploy" task in Capistrano/Switchtower to establish a symbolic link named "current" which points to the current version of my app. on my remote server. My app. was already deployed to the existing Rails root directory (call it "appname") though. I have Apache fronting my app. through a virtual host whose doc. root is itself
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
I''m trying to set up switchtower, following the info in the Manual, but am getting this error when I run "rake remote_exec ACTION=setup": servers: ["cantona.dnswatchdog.com"] /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `sysread'': bignum too big to convert into `long'' (RangeError) from
2006 Apr 10
1
Capistrano/SwitchTower: DB activity for deploy task?
All, Does anyone know if Capistrano/Switchtower actually does anything on the database server as part of the "deploy" task? I''m pretty sure that it doesn''t, but thought I would verify. Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Jan 04
2
SwitchTower deployment
I''ve been trying to configure SwitchTower to perform deployment of my app to a Dreamhost server. I can run rake remote_exec ACTION=setup just fine but rake deploy keeps giving me errors when its checking out the latest revision from the Subversion repository on the same Dreamhost server. It displays errors like this: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1
2006 Feb 01
2
Trouble with migrate over Switchtower
>From my blog: http://clickablebliss.com/blog/2006/02/01/trouble_with_migrate_over_switchto wer/ > Lately though I?ve run into an issue > trying to run migrations over Switchtower. > So I?ll prepare a migration and commit it to the repository. I?ll then do a > deploy to get the latest version up on the production server. Next, I?ll run > the following to tell the production
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 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake --tasks and got the error message below: rake aborted! undefined method `namespace'' for #<Object:0x28a9258> ./rakefile:10 I''ve run "cap -A ." on my Rails application before running rake --tasks. The same thing happens when I overwrite my copy of deploy.rb. Hmm, what could be going wrong
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 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 22
3
is there really a restart task in switchtower? How do you invoke it?
I just created a new rails project "test". I then did "switchtower --apply-to ~/user/test test" I then moved into test and tried "rake restart" and got: kfelkins@lurch:~/user/test$ rake restart (in /home/kfelkins/user/test) rake aborted! Don''t know how to build task ''restart'' I see restart in deploy. Can restart be invoked from the
2006 Jun 15
1
is capistrano (switchtower) what i use to create my server?
hi, im currently working on a laptop and would like to rake the stuff onto a production server aka my old pc running ubuntu. is capistrano what i should be reading about to do this? thanks -- Posted via http://www.ruby-forum.com/.
2006 Mar 15
2
Capistrano/Switchtower screencast
Just a quickie, Hope I''m not going crazy here but I''m sure I''ve seen a screencast for capistrano recently... maybe posted on a blog somewhere. Can anyone remember where it is? Thanks -henry
2006 Mar 29
2
switchtower / capistrano deploy by tag
Is there a way, within capistrano, to deploy not the whole trunk but just stuff tagged a certain way? What I''m trying to accomplish is to let various developers work on different parts of a project, and deploy independantly. Thanks for any help or suggestions. Jim