Skip to content

Commit

Permalink
added check for rvm before turning on rvm mode; same for rbenv
Browse files Browse the repository at this point in the history
  • Loading branch information
betarelease committed Jul 1, 2014
1 parent 96fe872 commit f7571d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions the_files/bash_profile
Expand Up @@ -5,6 +5,6 @@ cat > $LOGFILE <<< "bash_profile...\c"
cat >> $LOGFILE <<< "bashrc...\c"
source ~/.bashrc

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
test -s "$HOME/.rvm/scripts/rvm" && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

eval "$(rbenv init -)"
test -s rbenv && eval "$(rbenv init -)"
2 changes: 1 addition & 1 deletion user_specific/sudhindra/environment
Expand Up @@ -3,4 +3,4 @@ export ALTERNATE_EDITOR=vim EDITOR=vim VISUAL=vim
export PGDATA=~/studios/pg_data

export ANDROID_HOME=~/opensource/android/adt-bundle-mac/sdk
export PATH=${PATH}:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools

0 comments on commit f7571d2

Please sign in to comment.