public Method

Configuration.environment_path

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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.