| | |
(Installed Ruby 1.9.1) gem isn't working
Please support our Ruby advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2009
Posts: 10
Reputation:
Solved Threads: 0
Hello there,
Ruby Version Installed: ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]
Operating Systems: Windows XP (both PC and laptop)
Laptop: I can run a gem command on with no problem
PC: gem won't work despite that ruby works fine. I get this message for any gem command:
It is the exact same installation as on my laptop (where gem works). All the above files are in the installation. Perhaps an environment variable somewhere that has not been set?
I'm at a loss here, I'd *really* appreciate any help or suggestions on how to fix this. I'm hitting my 5th hour here of pulling out my hair.
Thanks in advance,
Michelle
Ruby Version Installed: ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]
Operating Systems: Windows XP (both PC and laptop)
Laptop: I can run a gem command on with no problem
PC: gem won't work despite that ruby works fine. I get this message for any gem command:
Ruby Syntax (Toggle Plain Text)
% gem -v C:/ruby1.9/lib/ruby/1.9.1/yaml.rb:9:in `require': no such file to load -- stringio (LoadError) from C:/ruby1.9/lib/ruby/1.9.1/yaml.rb:9:in `<top (required)>' from C:/ruby1.9/lib/ruby/1.9.1/rubygems/config_file.rb:7:in `require' from C:/ruby1.9/lib/ruby/1.9.1/rubygems/config_file.rb:7:in `<top (required)>' from C:/ruby1.9/lib/ruby/1.9.1/rubygems/gem_runner.rb:8:in `require' from C:/ruby1.9/lib/ruby/1.9.1/rubygems/gem_runner.rb:8:in `<top (required)>' from C:/ruby1.9/bin/gem.bat:17:in `require' from C:/ruby1.9/bin/gem.bat:17:in `<main>'
I'm at a loss here, I'd *really* appreciate any help or suggestions on how to fix this. I'm hitting my 5th hour here of pulling out my hair.
Thanks in advance,
Michelle
Last edited by michelle1; Nov 9th, 2009 at 11:52 pm. Reason: formatting
0
#3 33 Days Ago
It looks like your YAML class is corrupted. Try reinstalling ruby:
C:/ruby1.9/lib/ruby/1.9.1/yaml.rb:9:in `require': no such file to load -- stringio (LoadError) means that the stringio library is missing, and essential for yaml to run, which is essential for rubygems to run. CodeJoust! Design + Development - Proud User of Ubuntu
•
•
Join Date: Nov 2009
Posts: 10
Reputation:
Solved Threads: 0
0
#4 33 Days Ago
Thanks for your reply, ja you're absolutely right.
A few days ago I followed the suggestion of using the RubyInstaller instead of the old mswin32 version from http://rubyinstaller.org/ (NOT th "One-Click Installer)
It works perfectly now.
A few days ago I followed the suggestion of using the RubyInstaller instead of the old mswin32 version from http://rubyinstaller.org/ (NOT th "One-Click Installer)
It works perfectly now.
![]() |
Similar Threads
- New ram installed computer wont start (Windows NT / 2000 / XP)
- Portable Ruby and one more question (Ruby)
- Wpf Application has stopped working on client (C#)
- Windows Messenger not working (Windows NT / 2000 / XP)
- Starting up with Ruby on Rails.. (Ruby)
- GET , POST and REQUET not working (PHP)
- harddrive with XP (and Linux) installed only says "Loading NT" (Windows NT / 2000 / XP)
- help in watir (Ruby)
- Installed NIC that isn't installed (Networking Hardware Configuration)
Other Threads in the Ruby Forum
- Previous Thread: Mixing PHP and Ruby together... opinions and suggestions.
- Next Thread: Create HTML files using RUBY
| Thread Tools | Search this Thread |
Tag cloud for Ruby





