The path to the current environment’s file (development.rb, etc.). By default the file is at config/environments/#{environment}.rb.
Source Code
# File initializer.rb, line 530 def environment_path "#{root_path}/config/environments/#{environment}.rb" end
<code/>and<pre/>for code samples.