Skip to content

Instantly share code, notes, and snippets.

@paulmederos
Created June 14, 2014 21:59
Show Gist options
  • Save paulmederos/385ece1ceb659d470def to your computer and use it in GitHub Desktop.
Save paulmederos/385ece1ceb659d470def to your computer and use it in GitHub Desktop.
Pow file for ruby config
if [ -f "$rvm_path/scripts/rvm" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
fi
if [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi
if [ -f ".ruby-gemset" ]; then
rvm gemset use --create `cat .ruby-gemset`
fi
fi
@paulmederos
Copy link
Author

Keep this file, .powrc in the root of your project: http://cl.ly/image/3X2v0m162G1F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment