To warn: I am new to Ruby, I have installed ruby-1.8.7 in /usr/local/bin on a linux box running centos, but get the following error(s) after attempting to install rubygems per published instructions:
/usr/local/lib/ruby/1.8/yaml.rb:9:in `require': no such file to load -- stringio (LoadError)
from /usr/local/lib/ruby/1.8/yaml.rb:9
from /home/nhammet/rubygems-1.3.1/lib/rubygems/config_file.rb:7:in `require'
from /home/nhammet/rubygems-1.3.1/lib/rubygems/config_file.rb:7
from /home/nhammet/rubygems-1.3.1/lib/rubygems.rb:882:in `require'
from /home/nhammet/rubygems-1.3.1/lib/rubygems.rb:882
from setup.rb:22:in `require'
from setup.rb:22
I looked at line22 and it says that it requires 'rubygems' but I know that and it isn't installed yet. Is there some missing step here? Something in my unix env? Do I need a LOAD_PATH env variable set?
Any help at all or pointers would be appreciated.
FYI -
I installed ruby
with ./configure
make test
sudo make install #(since not root and needed this in /usr/local)
Thanks
Newton


Reply With Quote
)