You must have a command-line version of subversion (svn) installed, and
in your PATH, on the local machine. GUI subversion clients, while
convenient for you, are not usable by capistrano, so if you have a GUI
svn installed, please make sure you also have a command-line svn available.

- Jamis

On 1/18/09 3:14 AM, dexter wrote:
> Hi,
> 
> I'm trying to upload a dummy project (hello world) "for testing
> purpose" to a remote Linux VDS using Capistrano, while I'm using
> InstantRails on Windows as my local machine, subversion is located on
> the remote server.
> 
> I checked out a working copy on my remote server and could run it
> manually without any problems.
> 
> When I try to run "cap deploy" or even "cap -s revision=x deploy" I
> get the following error: (of course I'm running this on my local
> machine)
> 
> 
> Error_Details:
> -------------------------------------------------------------------------------------------------------------------
> U:\dexter>cap -s revision=4 deploy
>   * executing `deploy'
>   * executing `deploy:update'
>  ** transaction: start
>   * executing `deploy:update_code'
> SVN pass:
> 
>     executing locally: "svn info svn://www.domain.com/dexter/trunk --
> username roo
> t --password password --no-auth-cache  -r4"
> *** [deploy:update_code] rolling back
>   * executing "rm -rf /var/www/dexter/releases/20090118081933; true"
>     servers: ["dexter.domain.com"]
> Password:
>     [dexter.domain.com] executing command
>     command finished
> D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/
> lib/capistr
> ano/recipes/deploy.rb:97:in ``': No such file or directory - svn info
> svn://www.
> domain.com/dexter/trunk --username root --password password --no-auth-
> cache  -
> r4 (Errno::ENOENT)
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy.rb:97:in `run_locally'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy.rb:37:in `load'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy.rb:88:in `with_env'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy.rb:37:in `load'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy/scm/subversion.rb:56:in
> `query_revision'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy/scm/base.rb:35:in `send'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/recipes/deploy/scm/base.rb:63:in `local'
>          ... 43 levels...
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/lib/capistrano/cli/execute.rb:14:in `execute'
>         from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
> capistrano-2.5.
> 3/bin/cap:4
>         from D:/InstantRails-2.0-win/ruby/bin/cap:19:in `load'
>         from D:/InstantRails-2.0-win/ruby/bin/cap:19
> ------------------------------------------------------------------------------------------------------------------
> Any help or suggestion will be appreciated,
> 
> Thanks
> 
> > 


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