bash/rvm-install in rvm-0.0.2 vs bash/rvm-install in rvm-0.0.3
- old
+ new
@@ -15,7 +15,12 @@
if [ -z "`grep '\.rvm/current' ~/.bash_profile`" ] ; then
echo "Adding 'source ~/.rvm/current' ~/.bash_profile."
echo "if [ -f ~/.rvm/current ] ; then source ~/.rvm/current ; fi" >> ~/.bash_profile
fi
-source ~/.bash_profile
+if [ -z "`grep '\.profile' ~/.bash_profile`" ] ; then
+ echo "Adding 'source ~/.profile' to the end of ~/.bash_profile."
+ echo "if [ -f ~/.profile ] ; then source ~/.profile ; fi" >> ~/.bash_profile
+fi
+
+source ~/.rvm/bin/rvm