提交 d8c5ea76 编写于 作者: J Jeremy Kemper

Use Rails.env after loading environment

上级 fa007e59
......@@ -41,10 +41,10 @@ def start
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册