pyenvとrbenvの設定
###pyenv
$ brew install pyenv
$ pyenv install -l
$ pyenv install 3.x.x
$ pyenv install 2.x.x
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(pyenv init -)"'
$ pyenv rehash
###rbenv
$ brew install rbenv
$ rbenv install -l
$ rbenv install 2.x.x
$ echo 'export RBENV_ROOT="$HOME/.RBENV"' >> ~/.bash_profile
$ echo 'export PATH="$RBENV_ROOT/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"'
$ rbenv rehash
ターミナルを再起動して
$ which python
$ which ruby
で.pyenv/shims, .rbenv/shimsの下を見ていたらオッケイ