Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Load RVM inside scripts if available

  • Loading branch information...
commit cd8c7b30166fb13ddda9738bd55c0fadb7dd6969 1 parent c75f08d
authored February 19, 2012

Showing 2 changed files with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  reset.sh
  2. 3  start.sh
3  reset.sh
@@ -9,6 +9,9 @@
9 9
 # this file.
10 10
 #
11 11
 
  12
+# This loads RVM if available which is needed to process the ./server/.rvmrc
  13
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
  14
+
12 15
 export RAILS_ENV=production
13 16
 cd server
14 17
 
3  start.sh
@@ -9,6 +9,9 @@
9 9
 # this file.
10 10
 #
11 11
 
  12
+# This loads RVM if available which is needed to process the ./server/.rvmrc
  13
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
  14
+
12 15
 # sorry folks, nothing smart going on here
13 16
 export RAILS_ENV=production
14 17
 cd server

0 notes on commit cd8c7b3

Please sign in to comment.
Something went wrong with that request. Please try again.