LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Ruby on RHEL 4 64bit (https://www.linuxquestions.org/questions/linux-software-2/installing-ruby-on-rhel-4-64bit-388019/)

Neruocomp 11-30-2005 03:18 PM

Installing Ruby on RHEL 4 64bit
 
I used the rpms to install ruby but couldn't get gem to work because of
a bug in ruby-1.8.1 so I decided to install from the source. I let it
install in /usr/local but told it to install libs in /usr/local/lib64
or else the libraries won't be found. I did that and ruby runs. So I
run the setup for the latest rubygems and it gives me this error:
setup.rb:52:in `require': no such file to load -- rbconfig (LoadError)
from setup.rb:52

So I tried rubygems-0.8.10 and get the same thing. I ran irb and got
the same thing also. Whats going on? Any ideas?

ashishdubey 09-26-2012 11:02 AM

Quote:

Originally Posted by Neruocomp (Post 1977047)
I used the rpms to install ruby but couldn't get gem to work because of
a bug in ruby-1.8.1 so I decided to install from the source. I let it
install in /usr/local but told it to install libs in /usr/local/lib64
or else the libraries won't be found. I did that and ruby runs. So I
run the setup for the latest rubygems and it gives me this error:
setup.rb:52:in `require': no such file to load -- rbconfig (LoadError)
from setup.rb:52

So I tried rubygems-0.8.10 and get the same thing. I ran irb and got
the same thing also. Whats going on? Any ideas?

On your machine 'rbconfig' gem is missing. You need to install the gem 'rbconfig' using
gem install rbconfig

John VV 09-26-2012 05:43 PM

ashishdubey

please DO NOT resurrect from the DEAD a 7 year old thread about a "almost" dead version of Red hat


All times are GMT -5. The time now is 06:33 PM.