gpt4 book ai didi

Ruby gem LoadError - ruby​​gems/defaults/operating_system

转载 作者:数据小太阳 更新时间:2023-10-29 06:58:41 26 4
gpt4 key购买 nike

我已经在我的 winxp sp3 机器上安装了 ruby​​ 1.8.6 p368 和 gems 1.3.4 以及所需的库,如 zlib、ssl 或 readline。问题是,当我现在尝试使用一些 gem 时,出现以下错误:

Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1112 - no su
ch file to load -- rubygems/defaults/operating_system
Exception `LoadError' at D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mysql

似乎从修复丢失的“rubygems/defaults/operating_system”文件开始是有意义的。我怎样才能做到这一点?时间差

附言: gem 环境是

RubyGems Environment:
- RUBYGEMS VERSION: 1.3.4
- RUBY VERSION: 1.8.6 (2009-03-31 patchlevel 368) [i386-mswin32]
- INSTALLATION DIRECTORY: D:/ruby/lib/ruby/gems/1.8
- RUBY EXECUTABLE: D:/ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: D:/ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mswin32-60
- GEM PATHS:
- D:/ruby/lib/ruby/gems/1.8
- C:/Documents and Settings/fluffy/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/

最佳答案

您是否使用 -d 运行?如果是这样,this email估计即使他们获救了,它也会显示异常。

关于Ruby gem LoadError - ruby​​gems/defaults/operating_system,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1021216/

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