我刚刚在Rackspace云服务器的centos6.0上安装了rvm + rails 3+。一切正常,但有时当我ssh到服务器时,我不能使用rake、bundle或任何其他与rails相关的命令,它总是向我显示以下错误:
bash: rake: command not found
当我尝试运行bundle install时,它显示以下错误:
ERROR: Gem bundler is not installed, run `gem install bundler` first.
但是我确实安装了它,而且它以前工作过。我可以使用rvm rake db:migrate -但它过去没有rvm pre