Przeglądaj źródła

Ensuring that .rvm exists and is sourced.

James Yen 11 lat temu
rodzic
commit
65d4f2e4c1
1 zmienionych plików z 1 dodań i 1 usunięć
  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_DATABASE_HOST='localhost'
 
-. ~/.rvm/scripts/'rvm'
+[ -e ~/.rvm/scripts/'rvm' ] && . ~/.rvm/scripts/'rvm'