changed rvm stuff to use home directory rather than hard-coded