Sha256: 998206fa9e469a8f42534f816785afb50c96986db9d1fcbc1fa569055c3249b4

Contents?: true

Size: 165 Bytes

Versions: 6

Compression:

Stored size: 165 Bytes

Contents

require "env_vars"
require "dotenv"

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
env_vars-1.0.0 lib/env_vars/dotenv.rb
env_vars-0.7.1 lib/env_vars/dotenv.rb
env_vars-0.6.0 lib/env_vars/dotenv.rb
env_vars-0.5.0 lib/env_vars/dotenv.rb
env_vars-0.4.0 lib/env_vars/dotenv.rb
env_vars-0.3.0 lib/env_vars/dotenv.rb