Ruby on Rails: How do I remove a gem path? (I have two for some reason)

Posted by sjsc on Stack Overflow See other posts from Stack Overflow or by sjsc
Published on 2010-03-15T20:57:46Z Indexed on 2010/03/15 20:59 UTC
Read the original article Hit count: 517

Filed under:
|
|

I'm looking to remove a gem path (/home/sjsc/.ge/ruby/1.8). For some reason, I have two, and I can't seem to install gems correctly. When I do "gem env", here's what I get:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.6
  - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
  - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /usr/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /usr/lib/ruby/gems/1.8
     - /home/sjsc/.gem/ruby/1.8

Any idea on how to remove the "/home/sjsc/.gem/ruby/1.8" from the "GEM PATHS"?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about on