The Slug Compilation article provides some interesting information about debugging your bullet size.
To reduce the size of the bullet, you can:
- use the
.slugignore file to ignore test data, sources, or design files. - make sure to set the
BUNDLE_WITHOUT variable to ignore all package groups except the current environment. This is the standard configuration for new applications, but if you created your application a few months ago, this variable does not exist, and you combine all the gems for all environments in each deployment.
source share