Skip to content

Commit

Permalink
Switch from rvm to ruby-install and chruby
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebellos committed Nov 1, 2013
1 parent dd71673 commit 61a6e1d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,18 @@ export HOMEBREW_CASK_OPTS="--appdir=/Applications"
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator

# Macvim does not source .zshrc but .zshenv so i have include the rvm scripts here

# Rvm support
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.

# PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

# chruby support
source /usr/local/opt/chruby/share/chruby/chruby.sh

# use the rubies from rvm
# RUBIES=(~/.rvm/rubies/*)

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
# change automatically ruby implementation
source /usr/local/opt/chruby/share/chruby/auto.sh
chruby ruby-2.0.0-p247

0 comments on commit 61a6e1d

Please sign in to comment.