首页 > 其他 > 详细

Bunder: What does :require => nil in Gemfile mean?

时间:2017-09-24 15:16:00      阅读:280      评论:0      收藏:0      [点我收藏+]

https://stackoverflow.com/questions/12200215/bunder-what-does-require-nil-in-gemfile-mean

Require nil or false means that bundler will not load (require) the specific gems. However, they will be in the $: load paths, so you can require them explicitly any time you want to use them. It is a good practice to use this, for gems that are only needed in special cases (e.g. external scripts, rake tasks etc.).

Bunder: What does :require => nil in Gemfile mean?

原文:http://www.cnblogs.com/or2-/p/7587109.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!