Last active
January 4, 2016 17:39
-
-
Save marksim/8655160 to your computer and use it in GitHub Desktop.
Pow Config
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
# Automatically exports all variables in .env files | |
export $(cat .env) |
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 [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ]; then | |
source "$rvm_path/scripts/rvm" | |
rvm use `cat .ruby-version` | |
fi | |
# Taken from https://github.com/37signals/pow/issues/202#issuecomment-8683481 | |
# Not tested with rbenv | |
if [ $(command -v rbenv 2>&1) ]; then | |
export PATH=$(rbenv root)/shims:$(rbenv root)/bin:$PATH | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment