Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-com
marketo-tools
Commits
016093bf
Commit
016093bf
authored
Jan 05, 2016
by
Robert Speicher
Browse files
Explicitly load `.env.<environment>`
Dotenv says it does this automatically, but that has not been my experience.
parent
77a7bf83
Changes
1
Show whitespace changes
Inline
Side-by-side
config.ru
View file @
016093bf
require
'bundler'
Bundler
.
require
Dotenv
.
load
Dotenv
.
load
(
".env.
#{
ENV
[
'RACK_ENV'
]
}
"
,
'.env'
)
require
'./app'
run
MarketoTools
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment