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.


> Did you set GEM_HOME or similar?
>

No. Do I need to do that?