class Dotenv::Railtie

def load

can manually call `Dotenv::Railtie.load` if you needed it sooner.
This will get called during the `before_configuration` callback, but you

Public: Load dotenv
def load
  Dotenv.load(
    root.join(".env.local"),
    root.join(".env.#{Rails.env}"),
    root.join(".env")
  )
end