0

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?

Dan Sharp
  • 1,209
  • 2
  • 12
  • 31

1 Answers1

1

bundle install --without development test

ddgd
  • 1,657
  • 1
  • 15
  • 25