Use Gemfile groups to manage production vs dev dependencies
diverdane opened this issue · comments
Is your feature request related to a problem? Please describe.
Currently, Gem dependencies are managed by using a special "GEMFILE TRIM MARKER" text block in the Gemfile to delineate
production dependencies from development and test dependencies. This trim marker was then used by a sed
command to create temporary copies of the Gemfile with portions trimmed as required for production images, and then the original Gemfile is restored.
Gem dependency management would be much cleaner using the development
and test
Gemfile groups that are already defined, along with the --with
and --without
flags for bundle operations.
Describe the solution you would like
The use of the special trim string is eliminated, and replace with the use of Gemfile dependency groups.