For example:
In my Gemfile there are two gems:
gem 'spreadsheet', require: false
gem 'stripe', require: false
I use 'spreadsheet'
in rake tasks and it's clear that require: false
makes better performance.
But my rails app also uses 'stripe'
for payment in app folder(models,controllers..etc) which is not often executed. (On production server, with config.eager_load = true
)
Will the performance be better to set require: false
for gem 'stripe'
?
I've read straight through this question but can't get clear answer: Bundler: What does :require => false in a Gemfile mean?