Deployment strategy is a cap deploy.

I just noticed a cap deploy:check gives the following

 * executing "test -w /home/x/rails/app/releases"
    servers: ["x"]
    [x] executing command
    command finished
/usr/local/lib/ruby/gems/1.8/gems/capistrano-1.99.0/lib/capistrano/recipes/deploy/strategy/remote.rb:20:in
`test': unknown command ?t (ArgumentError)

The svn executable exists at the remote machine at /home/x/bin/svn [x
= my remote uid], I copied the command into the remote ssh session.

-Merg

On 4/27/07, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> 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
> >
> >
> > >
>
>
> >
>


-- 
--Merg

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