Fix "WARNING: Spring is running in production"
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