开发者

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

开发者 https://www.devze.com 2022-12-20 14:16 出处:网络
When I install a new gem, I see this message: \"INFO:gem install -y is now default and will be开发者_开发百科 removed\"

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

精彩评论

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

关注公众号