Capistrano Shovel onto Textdrive SVN error


#1

I’m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is “No such file or directory” I’ve included the full
error listing below.

The SVN definately exists because we’re using for development.

Does any one have any ideas what might be going wrong?

Thanks
Tom

[nopi.textdriven.com] executing command
command finished

C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/scm/
subversion.rb:90:in ``’: No such file or directory - svn log -q -rhead
http://no
pi.textdriven.com/svn/ssdsvn/OlderPersonsPortal (Errno::ENOENT)
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/scm/subversion.rb:90:in svn_log' from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca pistrano/scm/subversion.rb:26:inlatest_revision’
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/configuration.rb:62:in initialize' from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca pistrano/configuration.rb:62:incall’
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/configuration.rb:88:in []' from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca pistrano/configuration.rb:237:inmethod_missing’
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/scm/subversion.rb:72:in checkout' from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca pistrano/recipes/standard.rb:70:ininstance_eval’
… 16 levels…
from
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca
pistrano/cli.rb:12:in execute!' from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/bin/ca p:11 from C:/InstantRails/ruby/bin/cap:18:inload’
from C:/InstantRails/ruby/bin/cap:18


#2

Tom,

You need a command-line subversion client installed on your local
machine. If you have one, please make sure you’ve got the ‘svn’
command-line utility in your path.

  • Jamis

#3

Jamis,

Thanks for this, it works great, just in case anyone else has the same
issues,
the SVN command line for windows is available here:

http://subversion.tigris.org/files/documents/15/29065/svn-1.3.0-setup.exe

The thing you need to add to the path is “c:\Program
Files\Subversion\bin”, assuming you install it in the default location.

This ruby community is great.
Cheers
Tom


#4

Tom S. wrote:

Jamis,

Thanks for this, it works great, just in case anyone else has the same
issues,
the SVN command line for windows is available here:

http://subversion.tigris.org/files/documents/15/29065/svn-1.3.0-setup.exe

The thing you need to add to the path is “c:\Program
Files\Subversion\bin”, assuming you install it in the default location.

You may find it adds itself to the path - it did for me (XP Pro)

regards

Justin


#5

Justin F. wrote:

The thing you need to add to the path is “c:\Program
Files\Subversion\bin”, assuming you install it in the default location.

You may find it adds itself to the path - it did for me (XP Pro)

regards

Justin

Justin is correct, you only need to add it to the path manually if you
have Windows 2000. If you have XP the installation should take care of
it.

Tom