如果我这样做,ruby -v
我会得到:
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.3.0]
但如果我这样做,ruby -e 'puts $:'
我会得到:
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:31:in `require': cannot load such file -- rbconfig (LoadError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:31:in `<top (required)>'
from <internal:gem_prelude>:1:in `require'
from <internal:gem_prelude>:1:in `<compiled>'
我需要做什么来编辑 $: 变量,使其停止寻找 ruby 1.9.1?