method

environment_path

environment_path()
public

The path to the current environment’s file (development.rb, etc.). By default the file is at config/environments/#{environment}.rb.