@rafael: Good news!

I found out that the TortoiseSVN client I had installed does not
provide Capistrano with the command svn. So the fix is simply to
install the "CollabNet Subversion Client for Windows" from
http://www.collab.net/downloads/subversion/

Note: that when installing it, it is important to use the default
install path so that the installer ajust the search PATH.

Thanks for the hints!

On 25 Aug, 09:39, davidonlaptop <[email protected]> wrote:
> @rafael : I'm on a linux box right now, I'll give it a try in a few..
>
> @lee : sure! The only I was able to get Ruby to work on linux is to
> use the ruby one click installer from ruby-lang.org, it gives you only
> ruby 1.8.6 but otherwise you need to compile ruby manually which seems
> more trivial on windows than on linux. Then you install rubygems and
> from there you should be good to go.
>
> If I forget something, let me know.
>
> On 24 Aug, 17:19, Lee Hambley <[email protected]> wrote:
>
>
>
> > Hi David,
> > I don't even know *how* to get an environment up on windows to try this, can
> > you point me at anything, I want to improve on our windows support if I can.
>
> > -- Lee Hambley
>
> > Twitter: @leehambley
> > Blog:http://lee.hambley.name/
> > Working with Rails:http://is.gd/1s5W1
>
> > 2009/8/24 Rafael G. <[email protected]>
>
> > > davidonlaptop wrote:
> > > > Hey I am unable to use Capistrano on Windows.
>
> > > > This thread summarize the problem:
>
> > > >http://railsforum.com/viewtopic.php?pid=107245#p107245
>
> > > > Here's my output
>
> > > > [code]
> > > >   * executing `deploy'
> > > >   * executing `deploy:update'
> > > >  ** transaction: start
> > > >   * executing `deploy:update_code'
> > > >     updating the cached checkout on all servers
> > > >     executing locally: "svn info
> > >http://svn.davidlauzon.net/rails/davidlauzon.ne
> > > > t  -rHEAD"
> > > > *** [deploy:update_code] rolling back
> > > >   * executing "rm -rf /home/dlauzon/davidlauzon.net/releases/
> > > > 20090824192203; tru
> > > > e"
> > > >     servers: ["davidlauzon.net"]
> > > > Password:
> > > > [/code]
>
> > > > So already before asking the ssh password, it is doing a rollback. I
> > > > confirm that this deploy.rb does work on a Linux box.
>
> > > > [code]
> > > >  ** [deploy:update_code] exception while rolling back:
> > > > Capistrano::ConnectionError, connection failed for: davidlauzon.net
> > > > (Net::SSH::AuthenticationFailed: dlauzon)
> > > > C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/capistrano/recipes/
> > > > deploy.rb:97:in ``': No such file or directory - svn info
> > > >http://svn.davidlauzon.net/rails/davidlauzon.net -rHEAD
> > > > (Errno::ENOENT)
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy.rb:97:in `run_locally'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy.rb:37:in `load'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy.rb:88:in `with_env'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy.rb:37:in `load'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy/scm/subversion.rb:56:in `query_revision'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy/scm/base.rb:35:in `send'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/recipes/deploy/scm/base.rb:63:in `local'
> > > >          ... 43 levels...
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/lib/
> > > > capistrano/cli/execute.rb:14:in `execute'
> > > >         from C:/ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.3/bin/cap:4
> > > >         from C:/ruby/bin/cap:19:in `load'
> > > >         from C:/ruby/bin/cap:19
> > > > [/code]
>
> > > > Bug in default recipe & Windows ?
>
> > > Windows support it's limited but we will try help you :)
>
> > > Could you try the next command in your windows machine?
>
> > >        svn infohttp://svn.davidlauzon.net/rails/davidlauzon.net -rHEAD
>
> > > --
> > > Rafa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to