Adding .powrc to allow RVM to work when POW is updated to version 0.4.0 and beyond.

Support for automatically handling .rvmrc files in projects is being deprecated in
POW version 0.4.0 and beyond. RVM will still work but project will need to have a
.powrc file that detects the presence of and then loads RVM.

The code in the .powrc could also be in the .powenv file, however the .powrc loads
first and is the configuration file recommended for inclusion in version control.
This commit is contained in:
Mark Nichols 2012-06-08 13:58:52 -05:00
parent 48cd2793cf
commit 944255f879
1 changed files with 5 additions and 0 deletions

5
.powrc Normal file
View File

@ -0,0 +1,5 @@
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ] ; then
source "$rvm_path/scripts/rvm"
source ".rvmrc"
fi