Hi,
I''m trying to install a RoR application in a Red Hat Linux
environment, when I was working in Windows up to now...
The Ruby installation was successful and I set the PATH to include the
directory containing the ruby executable. But when installing RubyGems
via "ruby setup.rb" (or "ruby setup.rb config", depending on
the
information source...), I get the following error message:
./lib/rubygems.rb:10:in `require'': no such file to load -- thread
(LoadError)
from ./lib/rubygems.rb:10
from setup.rb:22:in `require''
from setup.rb:22
According to the little I found on the Internet, it seems to be caused
either by a missing ruby file/package or a missing path in my PATH
environment variable... But I''m stuck at this point.
Thanks for your help,
Chris.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Mark Reginald James
2008-Sep-03 14:52 UTC
Re: LoadError when installing RubyGems on Red Hat Linux
gers32 wrote:> The Ruby installation was successful and I set the PATH to include the > directory containing the ruby executable. But when installing RubyGems > via "ruby setup.rb" (or "ruby setup.rb config", depending on the > information source...), I get the following error message: > > ./lib/rubygems.rb:10:in `require'': no such file to load -- thread > (LoadError) > from ./lib/rubygems.rb:10 > from setup.rb:22:in `require'' > from setup.rb:22Perhaps you need to add the --enable-pthread option to the Ruby compile config. -- Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
gers32
2008-Sep-04 10:02 UTC
[SOLVED] Re: LoadError when installing RubyGems on Red Hat Linux
Thanks for the suggestion. I was able to install RubyGems successfully by following the instructions from the following blog post: http://betweengo.com/ruby-on-rails/2008/03/28/installing-ruby-on-rails-on-red-hat-enterprise-linux-4/ For some reason, the previous installation didn''t update the PATH environment variable, among other things surely... So I suspect there was something wrong with my Ruby installation in the first place. Cheers, Chris. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---