aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nichols <mark@zanshin.net>2012-06-08 13:58:52 -0500
committerMark Nichols <mark@zanshin.net>2012-06-08 13:58:52 -0500
commit944255f8795009376a4ca98a5ca53f6bad720416 (patch)
tree0b70c6ad0d773ee3f2eaf2c935338204e532c365
parent48cd2793cf40c634ccee89d5a155efdb6851201d (diff)
downloadmy_new_personal_website-944255f8795009376a4ca98a5ca53f6bad720416.tar.xz
my_new_personal_website-944255f8795009376a4ca98a5ca53f6bad720416.zip
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.
-rw-r--r--.powrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.powrc b/.powrc
new file mode 100644
index 00000000..4777f08f
--- /dev/null
+++ b/.powrc
@@ -0,0 +1,5 @@
+if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ] ; then
+ source "$rvm_path/scripts/rvm"
+ source ".rvmrc"
+fi
+ \ No newline at end of file