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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.