Created
October 12, 2014 11:50
-
-
Save shavit/2fe08a6ec08b3cfdc649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# If you are working with the foreman gem and .env files, you are probably need to load | |
# the environment varialbes from the .env file. | |
# | |
# Load the environment variables from the .env file in development. | |
open('.env', 'r').readlines.each {|l| kv = l.split('='); ENV[kv[0]] = kv[1];} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment