Changing RubyGems Install Path

Posted by kmurph79 on Stack Overflow See other posts from Stack Overflow or by kmurph79
Published on 2010-05-16T17:32:14Z Indexed on 2010/05/16 17:40 UTC
Read the original article Hit count: 319

Filed under:
|

I'm using RVM. I recently updated RubyGems and it seems to have changed my install path. Currently RubyGems looks in /Users/kmurph79/.rvm/gems/ruby-1.9.1-p376 for gems, yet installs them in /Users/kmurph79/.rvm/rubies/ruby-1.9.1-p376/lib/ruby/gems/1.9.1/gems. Currently I have them all symlinked, but I'd like to avoid doing that everytime I install a gem.

I tried editing .gemrc to have RubyGems look in the latter directory, but that didn't work (maybe I didn't do that correctly? Here is my current .gemrc file). Ideally I'd like to change the install path to the former directory -- is there an easy way to do this?

Thanks for any help!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rubygems