I am really finding this frustrating. i am trying to install ruby gems
to allow me to try out rails.
I have tried it on two linux systems. I can install ruby no problem.
but when I run ruby setup.rb I get the error:
./rubygems.rb:8:in `require': no such file to load -- rubygems/
from setup.rb:24:in `require'
I think its a library link fault. but if anyone has any ideas I would
be very greatful.
Can you describe your environment?
What and How have you installed so far?
What's you linux flavor?
What is setup.rb?
Linux box is Linpus Lite on a Aspire One Netbook.
Ruby version is ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-linux]
Ruby is installed in /usr/bin/ruby
I have downloaded rubygems 1.3.5 and extracted the files. The install
readme requires you to run
sudo ruby setup.rb
This is supposed to install ruby gems. I just get the load errors.
Any thoughts anyone??
tried sudo su -
Unfotunatly still get the same error.
I find it difficult to see what is going wrong. I can only think its
something to do library paths.
There is a defaults.rb in the rubygems directory. It seems the
setup.rb script can not see it???
Any experts out there.
I ran the command you suggested and got.
[root@localhost rubygems-1.3.5]# rpm -qa|grep ruby
Any help would be greatly appreciated. I am at a loss here.
as the root I get the error 'rubygems/defaults' is missing.
I have a defaults.rb in the install directory. The error message
suggests setup.rb is looking in a rubygems directory.
I have read about a /lib/rubygems/ directory. I do not have any such
library directory. Could this be my problem???
Any help anyone... This is doing my head in.
Still can not install Rails.
I think it must be because I am doing a new install and not an
I wonder if the latest versions of rails no longer works when you do a
manual install. My guess is the manual install requires the library
paths to be present. But because this is a fresh update they are
Has anyone out there managed to do a fresh install of rails? I seem to
be banging my head against a brick wall at present.
Hi, is it possible to install Rubygems via the rpm package manager?
I just reinstalled my rails app on an ubuntu slice the other day. For
what it's worth, I'd recommend apt-get. It's been a real time-saver
1) sudo apt-get update #updates the apt-get software
2) sudo apt-get install rubygems # installs rubygems
Just those 2 commands did it for me. Let me know if you still have
Hi! It is also possible to install ruby from phusion, which is called
enterprise ruby. It comes with rubygems and has detailed installation