Method: Jets::Dotenv#dotenv_files
- Defined in:
- lib/jets/dotenv.rb
#dotenv_files ⇒ Object
-
‘.env` - The Original®
-
‘.env.development`, `.env.test`, `.env.production` - Environment-specific settings.
-
‘.env.local` - Local overrides. This file is loaded for all environments except `test`.
-
‘.env.development.local`, `.env.test.local`, `.env.production.local` - Local overrides of environment-specific settings.
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/jets/dotenv.rb', line 24 def dotenv_files files = [ root.join(".env"), (root.join(".env.local") unless Jets.env.test?), root.join(".env.#{Jets.env}"), root.join(".env.#{Jets.env}.local"), ] files << root.join(".env.#{Jets.env}.remote") if @remote files.compact end |