在Centos 6.5上安装新鲜的Ruby / Gems

时间:2015-03-05 16:26:42

标签: ruby gem

我刚刚安装了Ruby 1.8.7和RubyGems 1.3.7,通过&yum install ruby​​' yum install ruby​​gems'在Centos 6.5盒子上。刚刚击球,只是运行宝石给了我这个:

  

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- timeout (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in要求'       来自/usr/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:7       来自/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in要求'       来自/usr/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:7       来自/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in要求'       来自/ usr / bin / gem:9

我的googlefu也未能确定这个问题。有没有人遇到过这种问题和/或知道它是什么?

1 个答案:

答案 0 :(得分:0)

使用RVM安装Ruby 2.2.0来解决这个问题。宝石现在有效。