码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-09-24 15:28:30      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:ems   gem   cell   rip   ack   int   title   practice   under   

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?

标签:ems   gem   cell   rip   ack   int   title   practice   under   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!