From: Tena Sakai Date: 2009-08-01T07:47:38+09:00 Subject: Re: (newbie question) gem ------_=_NextPart_001_01CA1230.E668955C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Ken, Thank you for your response. I solved the problem in a different way. I went to http://rubyonrails.org/download and navigated to download a file rubygems-1.3.5.tgz. I untar'ed and extracted the tar file. Then I typed: ruby setup.rb and it seems all is well (though I haven't really done enough testing yet). In case I find a behavior that ruffles feather, I will post what I find. Regards, Tena Sakai tsakai@gallo.ucsf.edu -----Original Message----- From: Ken Burgett [mailto:keburgett@gmail.com] Sent: Fri 7/31/2009 3:12 PM To: ruby-talk ML Subject: Re: (newbie question) gem =20 I had trouble with gem on 64 bit linux systems in the past. I had to = resort to building gem from source to get any resolution. The latest 32-bit version of Ubuntu, 9.04, has gem version 1.3.1, which I believe resolves this problem. 2009/7/31 Tena Sakai > Hi, > > I am a Ruby newbie. > > The version I am using is: > > ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] > > The following commands work (or I haven't found anything > disagreeable so far): > > irb > ruby > ri > > But gem doesn't work for me. Here's what happens: > > $ gem > /usr/local/bin/gem:8:in `require': no such file to load -- rubygems > (LoadError) > from /usr/local/bin/gem:8 > > I look at /usr/local/bin/gem and here are three lines, starting at = line 8: > > require 'rubygems' > require 'rubygems/gem_runner' > require 'rubygems/exceptions' > > So the complaint is that it doesn't find these files. > > I ran find, like this: > > $ sudo find / -name rubygems\* > Password: > /home/tsakai/Notes/Ruby/ruby-1.9.1-p129/lib/rubygems > = /home/tsakai/Notes/Ruby/ruby-1.9.1-p129/lib/rubygems/rubygems_version.rb > /home/tsakai/Notes/Ruby/ruby-1.9.1-p129/lib/rubygems.rb > /home/tsakai/Notes/Ruby/ruby-1.9.1-p129/test/rubygems > /usr/local/lib/ruby/1.9.1/rubygems > /usr/local/lib/ruby/1.9.1/rubygems/rubygems_version.rb > /usr/local/lib/ruby/1.9.1/rubygems.rb > $ > > I have reasons that I don't want to use 1.9.1. I do want to use = 1.8.7. > > So... My question is where do I have to go to get what's > necessary to run gems under 1.8.7? > > Also, if there are some tips as to what I must do to get > it working, I would appreciate it very much. > > Thank you in advance. > > Regards, > > Tena Sakai > tsakai@gallo.ucsf.edu > > --=20 Regards, Ken Seek wisdom through disbelief ------_=_NextPart_001_01CA1230.E668955C--