← Back to Upcase

Use and meaning of 'require false' in Gemfile

(Shankar Dhanasekaran) #1

gem ‘rb-fchange’, :require=>false

I have this line in my gemfile. What is the meaning and use case?

(Harlow Ward) #2

It tells Bundler to install the gem, but not to require it when the call to Bundler.require is made.

To use this gem in your project you’d need to require it manually.