[Locomotive-users] Using Capistrano with Locomotive ... Is there
a trick to it?
Ryan Raaum
ryan.raaum at gmail.com
Wed Sep 13 15:43:45 GMT 2006
On 9/12/06, geoffrey <geoffrey-locomotive at ticom.com> wrote:
>
> 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.
Hi,
Looking at http://jamis.jamisbuck.org/articles/2005/09/24/switchtower-on-osxsuggests
that there is a possibility you may have to look at your svn
configuration in more detail.
What kind of repository are you using? Hosted where?
-ryan
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
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users
>
--
Ryan Raaum
http://raaum.org
http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060913/977be78a/attachment.htm
More information about the Locomotive-users
mailing list