Blog (deploy)
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...
The Rails deployment flow is really smooth thanks to the powerful (and easy to use) Capistrano.
Capistrano not only works with Rails and other Ruby code bases, but also code bases in any programming languages, such as PHP!
Here is an overview of what I did to get one of our PHP production sites up and running with Capistrano.
If you don’t already have Ruby and Rubygems installed, install them!
After you got ruby and rubygems, install Capistrano and its related gems -
gem install capistra...