instance method
environment_path
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
environment_path()
The path to the current environment’s file (development.rb, etc.). By default the file is at config/environments/#{environment}.rb.
Source
# File railties/lib/initializer.rb, line 931
def environment_path
"#{root_path}/config/environments/#{environment}.rb"
end
Defined in railties/lib/initializer.rb line 931
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Configuration