From f3b03dbe9ebd23fc0fb8c528813cd42ead5977cd Mon Sep 17 00:00:00 2001 From: umonaca Date: Mon, 21 Dec 2020 07:30:25 -0500 Subject: [PATCH] Revert "Add clean error message when RAILS_ENV is unset (#15381)" This reverts commit 9734c9b6fe2d2e4a980d8ad94c5de0300b23c809. --- config/boot.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/config/boot.rb b/config/boot.rb index 6cde5319d48414..f3e36203aad90f 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -1,8 +1,3 @@ -unless ENV.key?('RAILS_ENV') - STDERR.puts 'ERROR: Missing RAILS_ENV environment variable, please set it to "production", "development", or "test".' - exit 1 -end - ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) require 'bundler/setup' # Set up gems listed in the Gemfile.