Blog (bash)
Don’t you just hate it when you get the following errors during a Capistrano deployment?
bundle: command not found
Could not find RubyGem bundler (>= 0) (Gem::LoadError)
In fact, even if you don’t use bundler, you might still get errors like this:
rake: command not found
Could not find RubyGem rake (>= 0) (Gem::LoadError)
It turns out this has something to do with the $PATH and $GEM_HOME variables.
So here’s the quick fix.
Log in to your deployment server, as a root us...