Which deployment strategy are you using? And does the svn executable  
exist at /home/x/bin/svn on the machine that is doing the info query?

- Jamis

On Apr 27, 2007, at 2:27 PM, merg wrote:

>
> When doing a cap deploy the cap the
>   * executing `deploy:update_code'
> fails.
>
> I tried the svn info command listed on the server and this works.
>
> subversion.rb:56:in `query_revision': undefined method `[]' for
> false:FalseClass (NoMethodError)
>
> /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/capistrano/
> recipes/deploy.rb:31: command not found: /home/x/bin/svn info
> https://x/subversion/mt_rails/trunk  -rHEAD
> *** [deploy:update_code] rolling back
>   * executing "rm -rf /home/x/rails/mt/releases/20070427202105; true"
>     servers: ["x"]
> Password:  ** [deploy:update_code] exception while rolling back:
> Interrupt,
> /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/capistrano/
> recipes/deploy/scm/subversion.rb:56:in `query_revision': undefined
> method `[]' for false:FalseClass (NoMethodError)
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/recipes/deploy.rb:31:in `load'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/variables.rb:79:in `call'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/variables.rb:79:in `fetch'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/
> capistrano/configuration/variables.rb:85:in `[]'
>         fr
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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