Skip to content

Instantly share code, notes, and snippets.

@marksim
Last active January 4, 2016 17:39
Show Gist options
  • Save marksim/8655160 to your computer and use it in GitHub Desktop.
Save marksim/8655160 to your computer and use it in GitHub Desktop.
Pow Config
# Automatically exports all variables in .env files
export $(cat .env)
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