various bug fixes
[distro-setup] / .profile
index 6596cb5e4381a761102e3daf35905c7a5990567b..96ca11732754837f471156d638c3c60da16c29d9 100644 (file)
--- a/.profile
+++ b/.profile
@@ -1,2 +1,7 @@
 # see .bashrc_profile for commentary
 echo this is ~/.profile, either my .bashrc_profile is unavailable or this is posix mode or not bash
+
+# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
+export PATH="$PATH:$HOME/.rvm/bin"
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*