[Locomotive-users] Using Capistrano with Locomotive ... Is there a trick to it?

geoffrey geoffrey-locomotive at ticom.com
Tue Sep 12 04:57:15 GMT 2006


Okay, below is a --trace of my setup attempt. I don't understand why
it's blowing up. I ran the terminal from within a Locomotive session and
did "sudo gem install capistrano" to get the cap gem into my app. I then
modified my deploy.rb as needed. The output has been somewhat sanitized,
but nothing of value has been removed. Anybody know what I have missed?
The production site is dreamhost if that matters. Thanks for any clues.

bokbok:~/Sites/rorApp geoffrey$ rake remote:exec ACTION=setup --trace
(in /Users/geoffrey/Sites/rorApp)
** Invoke remote:exec (first_time)
** Execute remote:exec
    loading configuration
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb
    loading configuration ./config/deploy.rb
  * executing task setup
  * executing "mkdir -p -m 775 /home/user/vhost/releases
/home/user/vhost/shared/system &&\n    mkdir -p -m 777
/home/user/vhost/shared/log"
    servers: ["vhost", "db.vhost"]
Password: PASSWORD

rake aborted!
user
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh/session.rb:129:in
`initialize'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in
`start'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/ssh.rb:31:in
`connect'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:25:in
`connect_to'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:397:in
`establish_connections'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:396:in
`establish_connections'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:424:in
`execute_on_servers'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:173:in
`run'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb:39:in
`load'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in
`setup'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in
`execute_recipes!'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in
`execute_recipes!'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:221:in
`execute!'
./lib/tasks/capistrano.rake:15:in `cap'
./lib/tasks/capistrano.rake:82
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in
`invoke'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/1.8/thread.rb:135:in
`synchronize'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`run'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`run'
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/Users/geoffrey/LocalApps/Locomotive2/Bundles/rails112.locobundle/powerpc/bin/rake:1


More information about the Locomotive-users mailing list