irb无法在终端中运行:<internal:gem_prelude>:1:在`require&#39;:无法加载此类文件 - ruby​​gems.rb(LoadError)</internal:gem_prelude>

时间:2014-04-09 14:01:55

标签: ruby-on-rails ruby macos terminal irb

昨晚一切正常,但是今天我试图安装Rails后,irb再也无法运行了

shaunyap:~ shaun.yap$ irb
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
    from <internal:gem_prelude>:1:in `<compiled>'
shaunyap:~ shaun.yap$ 

我重新安装了rvm和Ruby

rvm 1.25.22(稳定)由Wayne E. Seguin,Michal Papis [https://rvm.io/] ruby 2.1.1p76(2014-02-24修订版45161)[x86_64-darwin12.0]

非常感谢帮助,谢谢!

0 个答案:

没有答案