Is there a way to use Rails (7) without actionmailer and actionmailbox? I replaced the require "rails/all" with a small selection of gems I want to use. action_mailer/railtie and action_mailbox/engine is commented out. My Gemfile only contains the rails gem and some other unrelevant gems. But when I see the resulting Gemfile.lock after a bundle install, actionmailer and actionmailbox (and others) are still there:
Is there a way so exclude this from the resulting Gemfile.lock? I don't want this in my production deployment.
