This might be a stupid question:
If I add a gem in Gemfile (and bundle install) and don’t use it in the rails application, does it affect the consumed memory size? Usually I use my application template which has all the gems that I might use. I fear that it might consume memory unnecessarily.
Thanks.
Sam
All gems are loaded on the rails startup. You must to add
require: falseto don’t load the gems at start and require it manualy. Your boot time will be slower if you have many unused gems in your Gemfile.