diff --git a/binscripts/rvm-installer b/binscripts/rvm-installer index 3ce1e61d8e..9f01176963 100755 --- a/binscripts/rvm-installer +++ b/binscripts/rvm-installer @@ -304,6 +304,22 @@ do esac done +case "$rvm_path" in + *[[:space:]]*) + printf "%b" " +It looks you are one of the happy *space* users(in home dir name), +RVM is not yet fully ready for it, use this trick to fix it: + + sudo ln -s \"$HOME/.rvm/\" /$USER.rvm + echo \"export rvm_path=/$USER.rvm\" >> \"$HOME/.rvmrc\" + +and start installing again. + +" + exit 2 + ;; +esac + if (( ${#install_gems[@]} > 0 && ${#install_rubies[@]} == 0 )) then install_rubies=( ruby )