gpt4 book ai didi

rubygems 1.3.6 安装失败

转载 作者:太空宇宙 更新时间:2023-11-03 16:54:04 25 4
gpt4 key购买 nike

我已经从源代码安装了 ruby​​ 1.9.3 并下载了 ruby​​gems 1.3.6 也是源代码。查看手册,我解压了压缩包并输入 ruby setup.rb这是我得到的输出:

/usr/local/lib/ruby/1.9.1/rubygems.rb:206:in `try_activate': undefined method 
`find_by_path' for Gem::Specification:Class (NoMethodError)
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /root/rubygems-1.3.6/lib/rubygems/config_file.rb:50:in `<class:ConfigFile>'
from /root/rubygems-1.3.6/lib/rubygems/config_file.rb:28:in `<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /root/rubygems-1.3.6/lib/rubygems/gem_runner.rb:8:in `<top (required)>'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from setup.rb:25:in `<main>'

这是在 CentOS 5 上完成的

最佳答案

Rubygems 的当前稳定版本是 1.8.24,您安装 1.3.6 的具体原因是什么?

关于rubygems 1.3.6 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14253599/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com