R
Rod Dik
Hello, I have the following ruby config on my winxp sp3 box
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/roddik/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
and the following gems are installed
D:\>gem list
*** LOCAL GEMS ***
mechanize (0.9.3)
mysql (2.7.3)
nokogiri (1.3.1)
However when I try to use them, I get
D:\>ruby -d ./test.rb
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
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mechanize
/test.rb:5: [BUG] Segmentation fault
How can I fix it? TIA
By the way, if anyone who can change the situation here, the latest
one-click installer of ruby available so far ships with very old
patchlevel, which is sad..
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/roddik/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://gems.rubyforge.org/
and the following gems are installed
D:\>gem list
*** LOCAL GEMS ***
mechanize (0.9.3)
mysql (2.7.3)
nokogiri (1.3.1)
However when I try to use them, I get
D:\>ruby -d ./test.rb
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
Exception `LoadError' at
D:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.
rb:31 - no such file to load -- mechanize
/test.rb:5: [BUG] Segmentation fault
How can I fix it? TIA
By the way, if anyone who can change the situation here, the latest
one-click installer of ruby available so far ships with very old
patchlevel, which is sad..