开发者

How can I get rid of the 'WARNING: Installing to ~/.gem since ... and ... aren't both writable." warning?

开发者 https://www.devze.com 2023-02-02 22:03 出处:网络
I like that it installs into ~/.gem, I just wish it would stop warning me about it. Setting a $GEM_HOME doesn\'t seem like a solution, since I use both gem18 and gem19 (I\'ve got to support both), an

I like that it installs into ~/.gem, I just wish it would stop warning me about it.

Setting a $GEM_HOME doesn't seem like a solution, since I use both gem18 and gem19 (I've got to support both), and I like that the gems for each install into ~/.gem/ruby/<version>, and when I set a $GEM_HOME gems for each get install开发者_如何学Pythoned in the same directory.


Have you considered RVM? Especially if you play with multiple ruby versions. For me the biggest bonus is project specific gemsets with automatic switching.

0

精彩评论

暂无评论...
验证码 换一张
取 消