开发者

Installing gems - what does "INFO: `gem install -y` is now default and will be removed" mean

When I install a new gem, I see this message:

"INFO: gem install -y is now default and will be开发者_开发百科 removed"

What does it mean? My quick Google search didn't turn up anything useful.


The -y option tells gem to install dependencies when installing the named gem. This is now the default action, so you don't need to worry about specifying the -y option any more. Eventually, the developers of gem will remove the option -y.

So in short, just use gem install instead, and ignore the -y.


It means that RubyGems will automatically install any required dependent gems.

  • http://docs.rubygems.org/read/chapter/10#page33
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜