Sha256: 4bc48b2a9afdaa7a4fd1d8c563f3ca82266a98b8b6ff6614b00a15bd396d5d3c

Contents?: true

Size: 285 Bytes

Versions: 55

Compression:

Stored size: 285 Bytes

Contents

require 'dotenv'

ENV['APP_ENV'] ||= 'development'

root_path = Dir.pwd

Dotenv.load(
  File.join(root_path, ".env.#{ENV.fetch('APP_ENV', nil)}.local"),
  File.join(root_path, '.env.local'),
  File.join(root_path, ".env.#{ENV.fetch('APP_ENV', nil)}"),
  File.join(root_path, '.env')
)

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/config/boot.rb
inferno_core-0.6.0 lib/inferno/config/boot.rb
inferno_core-0.5.4 lib/inferno/config/boot.rb
inferno_core-0.5.3 lib/inferno/config/boot.rb
inferno_core-0.5.2 lib/inferno/config/boot.rb
inferno_core-0.5.1 lib/inferno/config/boot.rb
inferno_core-0.5.0 lib/inferno/config/boot.rb
inferno_core-0.4.44 lib/inferno/config/boot.rb
inferno_core-0.4.43 lib/inferno/config/boot.rb
inferno_core-0.4.42 lib/inferno/config/boot.rb
inferno_core-0.4.41 lib/inferno/config/boot.rb
inferno_core-0.4.40 lib/inferno/config/boot.rb
inferno_core-0.4.39 lib/inferno/config/boot.rb
inferno_core-0.4.38 lib/inferno/config/boot.rb
inferno_core-0.4.35 lib/inferno/config/boot.rb
inferno_core-0.4.34 lib/inferno/config/boot.rb
inferno_core-0.4.33 lib/inferno/config/boot.rb
inferno_core-0.4.32 lib/inferno/config/boot.rb
inferno_core-0.4.31 lib/inferno/config/boot.rb
inferno_core-0.4.30 lib/inferno/config/boot.rb