I'm building an Iron.IO Ruby-only application and as part of their new docker workflow, I need to run bundler to build the bundled gems into ./bundle locally. However, it builds all the gems, including the group 'development' and group 'test' gems. It's wasted data so I'd like to be able to do a clean build of only the gems I actually need.
Is there a way to tell bundler to only build the non-dev, non-test gems?
bundle install --without development test