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