Skip to content

Instantly share code, notes, and snippets.

@anveo
Created February 3, 2014 16:30
Show Gist options
  • Save anveo/8787147 to your computer and use it in GitHub Desktop.
Save anveo/8787147 to your computer and use it in GitHub Desktop.
before_exec do |server|
# Switch to https://github.com/bkeepers/dotenv/pull/61 when released
# Dotenv.overload
ENV.update Dotenv::Environment.new('.env')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment