Sha256: 374a435c58a74da8a7b6e765a968fcc8097e491ec3af673fcc0f6de2ea83fa99

Contents?: true

Size: 199 Bytes

Versions: 4

Compression:

Stored size: 199 Bytes

Contents

# frozen_string_literal: true

require "superconfig"
require "dotenv"

env = ENV["RACK_ENV"] || ENV["RAILS_ENV"] || "development"
Dotenv.load ".env.local.#{env}", ".env.local", ".env.#{env}", ".env"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
superconfig-2.1.1 lib/superconfig/dotenv.rb
superconfig-2.0.1 lib/superconfig/dotenv.rb
superconfig-2.1.0 lib/superconfig/dotenv.rb
superconfig-1.0.0 lib/superconfig/dotenv.rb