I'm really leaning towards deprecating the whole rake integration  
thing... rake is lousy at reporting errors. :( Please try doing "cap  
setup", using the capistrano command-line tool directly, and let me  
know what output you get.

- Jamis

On Dec 1, 2006, at 7:01 AM, itchyboy wrote:

>
> I'm just starting out with Capistrano, and I'm getting an error when I
> do rake:setup -- or rake remote:exec ACTION=setup -- not sure which  
> one
> is correct, since I've seen both.
>
> I get 'rake aborted' when it gets to SSH.
>
>
> My setup is simple:
>
> - Development machine running OS X and Locomotive 2.0.8 (and  
> everything
> that comes with it).
> - Production machine at Rimuhosting running Fedora, Apache 2.2,
> Mongrel; app root would be central.casehandler.com.
> - SVN repository at another host
>
> At this point, I just want to deploy the app as is, nothing special at
> all.
>
> The manual is not clear which tasks Capistrano is supposed to be doing
> and which it isn't. I already have a blank test app located at my
> production location, and I don't know if Capistrano will delete all
> those files and replace with my real app or not or whether that will
> cause trouble.
>
>
> Here's the output, with --trace:
>
> g4mini:~/apps/league_central dwayne$ rake remote:exec ACTION=setup
> --trace
> (in /Users/dwayne/apps/league_central)
> ** Invoke remote:exec (first_time)
> ** Execute remote:exec
>     loading configuration
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> recipes/standard.rb
>     loading configuration ./config/deploy.rb
>   * executing task setup
>   * executing "mkdir -p -m 775 /var/www/apps/central/releases
> /var/www/apps/central/shared/system &&\n    mkdir -p -m 777
> /var/www/apps/central/shared/log &&\n    mkdir -p -m 777
> /var/www/apps/central/shared/pids"
>     servers: ["central.casehandler.com"]
> Password: **deleted**
>
> rake aborted!
> dwayne
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/net-ssh-1.0.10/lib/net/ssh/ 
> session.rb:132:in
> `initialize'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/net-ssh-1.0.10/lib/net/ssh.rb:47:in
> `start'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> ssh.rb:30:in
> `connect'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> actor.rb:25:in
> `connect_to'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> actor.rb:475:in
> `establish_connections'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> actor.rb:511:in
> `execute_on_servers'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> actor.rb:207:in
> `run'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> recipes/standard.rb:39:in
> `load'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> actor.rb:159:in
> `setup'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> cli.rb:256:in
> `execute_recipes!'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> cli.rb:256:in
> `execute_recipes!'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/capistrano-1.2.0/lib/capistrano/ 
> cli.rb:233:in
> `execute!'
> ./lib/tasks/capistrano.rake:15:in `cap'
> ./lib/tasks/capistrano.rake:88
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
> `execute'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
> `execute'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in
> `invoke'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/1.8/thread.rb:135:in
> `synchronize'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
> `invoke'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
> `run'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
> `run'
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
> /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
> powerpc/bin/rake:18
>
> Thanks for any help.
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to