mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Use Rails.env after loading environment
This commit is contained in:
@@ -41,10 +41,10 @@ module Rails
|
||||
end
|
||||
|
||||
if options[:sandbox]
|
||||
puts "Loading #{ENV['RAILS_ENV']} environment in sandbox (Rails #{Rails.version})"
|
||||
puts "Loading #{Rails.env} environment in sandbox (Rails #{Rails.version})"
|
||||
puts "Any modifications you make will be rolled back on exit"
|
||||
else
|
||||
puts "Loading #{ENV['RAILS_ENV']} environment (Rails #{Rails.version})"
|
||||
puts "Loading #{Rails.env} environment (Rails #{Rails.version})"
|
||||
end
|
||||
IRB.start
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user