class Dotenv::Railtie
def root
initialized, so this falls back to the `RAILS_ROOT` environment variable,
Internal: `Rails.root` is nil in Rails 4.1 before the application is
def root Rails.root || Pathname.new(ENV["RAILS_ROOT"] || Dir.pwd) end
def root Rails.root || Pathname.new(ENV["RAILS_ROOT"] || Dir.pwd) end