I have a problem with RubyGems: ruby gt.rb ruby: no such file to load -- ubygems (LoadError) Here are my compiler and gem versions: ruby --version ruby 1.8.7p5000 (2009-03-03 revision 22728) [x86_64-linux] <<built from stable source download>> gem --version 1.3.1 <<download of source tar.gz file from RubyForge>> When I built rubygems, I saw a reference to ''ubygems'', but it looked like a typo. The source program has a "require ''rubygems'' " line, and my profile file has a "RUBYOPT=rubygems" environment variable set. I am at a loss to determine what is causing this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Could you not try re-installing ruby gems?? Cheers Richard On Mar 19, 4:36 am, explainer <keburg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have a problem with RubyGems: > > ruby gt.rb > ruby: no such file to load -- ubygems (LoadError) > > Here are my compiler and gem versions: > > ruby --version > ruby 1.8.7p5000 (2009-03-03 revision 22728) [x86_64-linux] <<built > from stable source download>> > > gem --version > 1.3.1 <<download of source tar.gz file from RubyForge>> > > When I built rubygems, I saw a reference to ''ubygems'', but it looked > like a typo. > > The source program has a "require ''rubygems'' " line, and my profile > file has a "RUBYOPT=rubygems" environment variable set. > > I am at a loss to determine what is causing this.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
remove the rubyopt thing from your profile. I have seen that cause this exact error on many systems. Of course, restart your terminal session after changing your profile. :) On Wed, Mar 18, 2009 at 11:58 PM, Richard <richard.mackstar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Could you not try re-installing ruby gems?? > > Cheers > > Richard > > On Mar 19, 4:36 am, explainer <keburg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> I have a problem with RubyGems: >> >> ruby gt.rb >> ruby: no such file to load -- ubygems (LoadError) >> >> Here are my compiler and gem versions: >> >> ruby --version >> ruby 1.8.7p5000 (2009-03-03 revision 22728) [x86_64-linux] <<built >> from stable source download>> >> >> gem --version >> 1.3.1 <<download of source tar.gz file from RubyForge>> >> >> When I built rubygems, I saw a reference to ''ubygems'', but it looked >> like a typo. >> >> The source program has a "require ''rubygems'' " line, and my profile >> file has a "RUBYOPT=rubygems" environment variable set. >> >> I am at a loss to determine what is causing this. > > >--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---