我是在 ubuntu 下使用的。
刚才bundle install
一个工程,
告诉我 mysql2 没装
然后我gem install mysql2
告诉我没权限
那我sudo gem install mysql2
更崩溃了sudo: gem:找不到命令
gem cleanup
Attempting to uninstall bundler-1.3.0
Unable to uninstall bundler-1.3.0:
Gem::InstallError: bundler is not installed in GEM_HOME, try:
gem uninstall -i /home/binzh/.rvm/gems/ruby-1.9.3-p392@global bundler
谢谢大家