From: Mark Volkmann Date: 2007-01-23T22:20:25+09:00 Subject: Re: gem install - install directory not absolute --Apple-Mail-12-125175120 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed On Jan 22, 2007, at 10:48 PM, Eric Hodel wrote: > On Jan 22, 2007, at 11:30, Mark Volkmann wrote: >> On Jan 22, 2007, at 1:19 PM, Eric Hodel wrote: >>> On Jan 22, 2007, at 07:15, Mark Volkmann wrote: >>>> When I run ... >>>> sudo gem install rails -y >>>> >>>> I get ... >>>> ERROR: While executing gem ... (ArgumentError) >>>> install directory "/usr/local/lib/ruby/gems/./gems/=20 >>>> activesupport-1.4.0" not absolute >>>> >>>> The directory /usr/local/lib/ruby/gems/gems/activesupport-1.4.0 =20 >>>> does exist. >>>> >>>> Any suggestions on what I need to change? >>>> I don't know why the "/./" appears in the path in the error =20 >>>> message. >>> >>> What does `gem environment` report? >> >> RubyGems Environment: >> - VERSION: 0.9.1 (0.9.1) >> - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/. >> - GEM PATH: >> - /usr/local/lib/ruby/gems/. >> - REMOTE SOURCES: >> - http://gems.rubyforge.org >> >> I see that it put "/." at the ends of the paths. It doesn't seem =20 >> like that should be an issue though. > > You're missing 1.8 in that path (or 1.9). > > What does this say: > > ruby -rrbconfig -e 'p Config::CONFIG["ruby_version"]' > > I get "1.8". I get ".". > How did you install your ruby? I downloaded ruby-1.8.5.tar.gz, then ran the following commands as =20 root, running on Mac OS X. gzip =96d ruby-1.8.5.tar.gz tar xf ruby-1.8.5.tar cd ruby-1.8.5 ./configure make make test make install make install-doc --Apple-Mail-12-125175120--