Sha256: 43e6df2ac9260dfd9fff4fa4960ce83c3ecaeed5ed37c0069414aba559b2dab1

Contents?: true

Size: 355 Bytes

Versions: 4

Compression:

Stored size: 355 Bytes

Contents

require 'dotenv/railtie'

env_file = ".env.#{Rails.env}"
if File.exists?(env_file) && !defined?(Dotenv::Deployment)
  warn "Auto-loading of `#{env_file}` will be removed in 1.0. See " +
    "https://github.com/bkeepers/dotenv-deployment if you would like to " +
    "continue using this feature."
  Dotenv.load ".env.#{Rails.env}"
end

Dotenv.load '.env'

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
dotenv-rails-0.11.1 lib/dotenv-rails.rb
dotenv-0.11.1 lib/dotenv-rails.rb
dotenv-rails-0.11.0 lib/dotenv-rails.rb
dotenv-0.11.0 lib/dotenv-rails.rb