Just wanted to say that this is really great. Jamis, your commitment to the users of Capistrano is astonishing. Not only have you (and the Cap team) supplied us with this great tool, but you are here to help out at the drop of a hat. Really awesome.
Thanks! Tom On Aug 20, 4:13 pm, MadPhoenix <[EMAIL PROTECTED]> wrote: > You did it! Thanks so much Jamis. > > On Aug 20, 4:07 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > > > ah-ha, I know what it is. > > > You have svn installed in /opt/local/bin/svn on the remote host, but > > somewhere else on the local host, right? Try doing this: > > > set :scm_command, "/opt/local/bin/svn" > > set :local_scm_command, :default > > > Does that work? > > > - Jamis > > > On 8/20/07, MadPhoenix <[EMAIL PROTECTED]> wrote: > > > > If I do: > > > > ssh <username>@madphoenix.doit.wisc.edu "sh -c /opt/local/bin/svn" > > > > I get: > > > > Type 'svn help' for usage. > > > > On Aug 20, 3:28 pm, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > > > > What do you see if you try to do this: > > > > > $ ssh madphoenix.doit.wisc.edu "sh -c /opt/local/bin/svn" > > > > > - Jamis > > > > > On 8/20/07, MadPhoenix <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > > I'm trying to configure Capistrano 2, but it refuses to checkout > > > > > from my subversion repository on deploy:cold. At first, I was getting > > > > > the following error message: > > > > > > * executing "svn checkout -q -r2 <snip>/svn/hdlogger/trunk /var/ > > > > > rails/hdlogger/releases/20070820200809 && (echo 2 > /var/rails/ > > > > > hdlogger/releases/20070820200809/REVISION)" > > > > > servers: ["<snip>"] > > > > > Password: > > > > > [madphoenix.doit.wisc.edu] executing command > > > > > ** [out] sh: line 1: svn: command not found > > > > > command finished > > > > > > I found this odd because subversion is *definitely* installed on the > > > > > server. I then updated my deploy.rb file to include the line: > > > > > > set :scm_command, "/opt/local/bin/svn" > > > > > > (I'm running on OS 10.4 Server, with subversion installed in /opt/ > > > > > local by MacPorts) > > > > > > And now I get an even stranger error: > > > > > > * executing `deploy:update_code' > > > > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: > > > > > command not found: /opt/local/bin/svn info <snip>/svn/hdlogger/trunk > > > > > - > > > > > rHEAD > > > > > *** [deploy:update_code] rolling back > > > > > * executing "rm -rf /var/rails/hdlogger/releases/20070820201033; > > > > > true" > > > > > servers: ["<snip>"] > > > > > Password: > > > > > [<snip>] executing command > > > > > command finished > > > > > /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.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-2.0.0/lib/ > > > > > capistrano/recipes/deploy/scm/base.rb:35:in `send' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/recipes/deploy/scm/base.rb:35:in `method_missing' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/recipes/deploy/scm/base.rb:63:in `local' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/recipes/deploy/scm/base.rb:35:in `method_missing' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/recipes/deploy.rb:37:in `load' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/configuration/variables.rb:87:in `call' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/configuration/variables.rb:87:in `fetch' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/configuration/variables.rb:110:in `protect' > > > > > ... 35 levels... > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/lib/ > > > > > capistrano/cli/execute.rb:14:in `execute' > > > > > from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.0.0/bin/ > > > > > cap:4 > > > > > from /usr/local/bin/cap:16:in `load' > > > > > from /usr/local/bin/cap:16 > > > > > > I'm at a loss to explain why it can't talk to subversion. Any ideas? --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
