I'm guessing you've got svn installed in some non-standard location. Note that the ssh session that cap uses does NOT use the same PATH environment variable you get when you login with an interactive shell. It gets a bare-minimum PATH, usually just /usr/bin and one or two others. If svn is installed somewhere funky, like /opt/local/bin, you'll need to set the :svn variable so that it includes that full path.
- Jamis On Jan 9, 2007, at 10:23 PM, [EMAIL PROTECTED] wrote: > > If anyone has input, help would be greatly appreciated! :-) Here is > what I know: > > -cap setup worked--I see the created folders on the server. This > means the ssh connection works. I see command finished. > -cap update_code, or any task it is a part of, fails. The message is > as seen below. It seems to die at the point it is parsing a version > number out of svn log. However, I don't know how to see what is > coming > back to capistrano at this point (whether something else is wrong). > -If I log into the server as the user I'm using for capistrano and > paste the command from my error message: > > svn log -q --limit 1 > http://www.myappnamehere.com/svn/repo/trunk/appname > > it works just fine. I get: > > ---------------------------------------------------------------------- > -- > r26 | john | 2007-01-09 22:40:25 -0500 (Tue, 09 Jan 2007) > ---------------------------------------------------------------------- > -- > > Here is the trace from when update_code dies: > > * executing task update_code > * querying latest revision... > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/scm/ > subversion.rb:82:in > ``': No such > file or directory - svn log -q --limit 1 > http://www.myappnamehere.com/svn/repo/trunk/appname (Errno::E > NOENT) > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/scm/ > subversion.rb:82:in > `svn_log' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/scm/ > subversion.rb:23:in > `latest_revision' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > configuration.rb:62:in > ` > initialize' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > configuration.rb:88:in > ` > []' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > configuration.rb:235:in > `method_missing' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/scm/ > subversion.rb:64:in > `checkout' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > recipes/standard.rb:71:i > n `load' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > actor.rb:159:in > `update_ > code' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > cli.rb:271:in > `execute_r > ecipes!' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > cli.rb:271:in > `execute_r > ecipes!' > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > cli.rb:247:in > `execute!' > > from > c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/capistrano/ > cli.rb:12:in > `execute!' > from c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.3.1/bin/ > cap:11 > from c:/ruby/bin/cap:18 > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---