开发者

How do I turn off global gems for rvm?

I was following along a railscast, and was told that turning on global gems was good for a specific set of gems. But now when I try to install gems I get errors. So after using

rvm gemset use global

How do I revert this?

$ rvm gemdir
/Users/jeremysmith/.rvm/gems/ruby-1.9.2-p290@glob开发者_Go百科al


This works:

$ rvm gemset delete global

Read more about deleting gemsets.


Unfortunately I need my @global gemset. But I need it disabled for sometime.

So my way it is just rename it:

$ cd ~/.rvm/gems/
$ mv ruby-1.9.3-p327@global/   ruby-1.9.3-p327@global_
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜