Here is the error caused by rake in Capistrano deployment. The error also causes the rollback and failure of the rails 3.1.3 deployment (with rvm for single user installed).
** [out :: 76.195.225.93] ←[31mERROR: Gem bundler is not installed, run `gem in
command finished in 54ms
*** [deploy:update_code] rolling back
* executing "rm -rf /var/www/byop/releases/20120302230229; true"
gem list shows bundler 1.0.22. Also bundler was added to default.gems and global.gems under .rvm/gemset/. What could cause the error? Thanks so much.
You need to install bundler in the server gemset.