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 installed for single user).
** [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 installed. What could cause the error? Is it because of the rvm? Thanks so much.