Skip to content

Commit 944255f

Browse files
committed
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.
1 parent 48cd279 commit 944255f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.powrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ] ; then
2+
source "$rvm_path/scripts/rvm"
3+
source ".rvmrc"
4+
fi
5+

0 commit comments

Comments
 (0)