From: Eric Hodel Date: 2007-01-23T13:48:54+09:00 Subject: Re: gem install - install directory not absolute 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/ >>> activesupport-1.4.0" not absolute >>> >>> The directory /usr/local/lib/ruby/gems/gems/activesupport-1.4.0 >>> does exist. >>> >>> Any suggestions on what I need to change? >>> I don't know why the "/./" appears in the path in the error 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 > 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". How did you install your ruby? -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!