Browse Source

Ensuring that .rvm exists and is sourced.

James Yen 11 years ago
parent
commit
65d4f2e4c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/benchmark_profile

+ 1 - 1
config/benchmark_profile

@@ -27,4 +27,4 @@ export TFB_CLIENT_USER='tfb'
 export TFB_CLIENT_IDENTITY_FILE='/home/tfb/.ssh/id_rsa'
 export TFB_CLIENT_IDENTITY_FILE='/home/tfb/.ssh/id_rsa'
 export TFB_DATABASE_HOST='localhost'
 export TFB_DATABASE_HOST='localhost'
 
 
-. ~/.rvm/scripts/'rvm'
+[ -e ~/.rvm/scripts/'rvm' ] && . ~/.rvm/scripts/'rvm'