Matthew Lindfied Seager

Matthew Lindfied Seager

Today I learned that require: false in a Ruby Gemfile turns off auto-require for that gem. Bundler still downloads the code but doesn’t automatically load it into your main app.

If you want to use it somewhere (e.g. in a rake task) you’ll need a require statement in that file.