當我運行gem env
,我得到以下錯誤:錯誤運行寶石ENV
Error loading RubyGems plugin "/home/chenge/.rvm/gems/[email protected]/gems/rubygems-bundler-0.9.2/lib/rubygems_plugin.rb": undefined method `first' for #<String:0x8ec8670> (NoMethodError)
任何人可以幫助我理解這是什麼意思?謝謝。
gem clean
Cleaning up installed gems...
Attempting to uninstall rvm-1.11.3.3
Unable to uninstall rvm-1.11.3.3:
Gem::InstallError: gem "rvm" is not installed
Attempting to uninstall rubygems-bundler-0.9.2
Unable to uninstall rubygems-bundler-0.9.2:
Gem::InstallError: gem "rubygems-bundler" is not installed
Attempting to uninstall bundler-1.1.3
Unable to uninstall bundler-1.1.3:
Gem::InstallError: gem "bundler" is not installed
Clean Up Complete
你可能想要運行'gem install rubygems-bundler;寶石清潔「,讓寶石刪除任何舊版本。 –
似乎沒有工作,導致該帖子。謝謝。 – chenge
檢查這個http://stackoverflow.com/questions/10046321/updating-gems-on-my-mac-two-versions-of-bundler-installed – fankt