From: Kenosis Date: 2007-02-24T06:00:11+09:00 Subject: Re: rubygems and CentOS 4.4 On Feb 23, 10:59 am, Ryan Davis wrote: > On Feb 23, 2007, at 9:31 AM, Brian Candler wrote: > > > Something very strange has happened for me, and I'd like to know if > > I'm > > doing something stupid. > > > I wanted to install activerecord, and to do so I thought it would > > be a good > > idea to install rubygems to do the work for me. So I downloaded > > rubygems-0.9.2 fromhttp://rubyforge.org/frs/? > > group_id=126&release_id=9501, > > did "ruby setup.rb" as root. This seemed to start OK but then gave > > some > > errors: > > > ... > > setup.rb:18:15: Couldn't find File. Assuming it's a module > > At this point, you should have stopped. Something is terribly wrong > with your ruby installation. Rubygems has NOTHING to do with this. > This has me worried. > > > [root@localhost rubygems-0.9.2]# cat /etc/redhat-release > > CentOS release 4.4 (Final) > > [root@localhost rubygems-0.9.2]# ruby -v > > ruby 1.8.1 (2003-12-25) [i386-linux-gnu] > > You need 1.8.2 at the very least. Newer is better. I would upgrade to a more recent version of Ruby. I had similar problems on CentOS 4 and all were resolved when I simply build my own ruby from source and no older than 1.8.4. Ken