Been finding the solution online for a while. Most of them give the adding the if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi which is a must have.
Even after adding this line , rails still errors. I have to remove .rvm association from export path like you mention here. Solved!
Been finding the solution online for a while. Most of them give the adding the if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi which is a must have.
Even after adding this line , rails still errors. I have to remove .rvm association from export path like you mention here. Solved!