Skip to content

Commit

Permalink
Revert "Add clean error message when RAILS_ENV is unset (mastodon#15381
Browse files Browse the repository at this point in the history
…)"

This reverts commit 9734c9b.
  • Loading branch information
umonaca committed Dec 21, 2020
1 parent d07f6dd commit f3b03db
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions config/boot.rb
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit f3b03db

Please sign in to comment.