spring snippets

Fix "WARNING: Spring is running in production"

Tagged docker, rails, ruby, spring  Languages ruby

To fix “WARNING: Spring is running in production”, run the following in the project directory:

bundle config set with production
bundle config set without test development

For example, in a Dockerfile:

RUN bundle config set with production
RUN bundle config set without test development