I have rails application with a lot of environments: test, dev, production, staging, testing2 and so on.
I want gem 'puma'
to be installed for all environments except test. How can I make it?
The simplest way is to make whitelist:
gem 'puma', group: [:development, :staging, :dev, :production, :testing2]
But this seems too bad, because it'll be better just to make:
gem 'puma', except: [:test]
Is there any way to do it?
Sorry, there is no way to do this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With