Method: Rails::Command.environment
- Defined in:
- railties/lib/rails/command.rb
.environment ⇒ Object
:nodoc:
51 52 53 |
# File 'railties/lib/rails/command.rb', line 51 def environment # :nodoc: ENV["RAILS_ENV"].presence || ENV["RACK_ENV"].presence || "development" end |