Boy, am I glad to see a new Deploying Rails group.
Over the last several months, I’ve been working on a Rails project on
Windows XP. I’ve been deploying fine to Dreamhost with a Dreamhost
SVN repository using Capistrano. Now I’m trying to convert to an OS X
I used the excellent Hivelogic walkthrough to set up my OS X
Everything was humming along until I attempted to deploy some changes
out to Dreamhost. Essentially, the error was “command not found:
svn …” Since my PATH was functioning fine in all other cases as I
went through the walkthrough, I tried setting :svn to /usr/local/bin/
svn (with set :svn, “/usr/local/bin/svn”). Unfortunately this did
nothing for me - same error.
Typing “svn” in a bash terminal nets me “svn: command not found”.
Anyone have an idea what I’m missing?
Full error output:
- querying latest revision…
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: command not
found: svn log -q --limit 1 http://svn.bjhess.com/scrawlers/scrawlers
latest_revision': Could not determine latest revision (RuntimeError) from /usr/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/ capistrano/configuration.rb:62:ininitialize’
call' from /usr/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/ capistrano/configuration.rb:88:in’
method_missing' from ./config/deploy.rb:43:ininstance_eval’
instance_eval' from /usr/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/ capistrano/configuration.rb:149:inload’
load' ... 7 levels... from /usr/lib/ruby/gems/1.8/gems/capistrano-1.3.1/lib/ capistrano/cli.rb:12:inexecute!’
from /usr/bin/cap:16:in `load’