Merge remote-tracking branch 'parent/main' into upstream-20240218
This commit is contained in:
commit
a1f88f6001
27 changed files with 131 additions and 169 deletions
|
@ -1,8 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
unless ENV.key?('RAILS_ENV')
|
||||
warn 'ERROR: Missing RAILS_ENV environment variable, please set it to "production", "development", or "test".'
|
||||
exit 1
|
||||
abort <<~ERROR
|
||||
The RAILS_ENV environment variable is not set.
|
||||
|
||||
Please set it correctly depending on context:
|
||||
|
||||
- Use "production" for a live deployment of the application
|
||||
- Use "development" for local feature work
|
||||
- Use "test" when running the automated spec suite
|
||||
ERROR
|
||||
end
|
||||
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue