changeset 764:6af50cab823f

rvm for ruby...i hope i dont regret this
author Jeff Hammel <k0scist@gmail.com>
date Fri, 15 Jan 2016 09:39:31 -0800
parents e047129c84bc
children b8ac41eda8ee
files .bash_profile .bashrc
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.bash_profile	Wed Jan 06 09:44:57 2016 -0800
+++ b/.bash_profile	Fri Jan 15 09:39:31 2016 -0800
@@ -3,3 +3,5 @@
 # This file is sourced by bash for login shells.  The following line
 # runs your .bashrc and is recommended by the bash info pages.
 [[ -f ~/.bashrc ]] && . ~/.bashrc
+
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
--- a/.bashrc	Wed Jan 06 09:44:57 2016 -0800
+++ b/.bashrc	Fri Jan 15 09:39:31 2016 -0800
@@ -612,3 +612,5 @@
     fi
 }
 regeneratefluxmenu
+
+export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting