MacにHomeBrew で rbenv をインストールしてみた

· 1 min

$brew install rbenv
$brew install ruby-build


$vi ~/.bash_profile
>>>
eval "$(rbenv init -)"
~/.rbenv/completions/rbenv.bash


$ln -s /usr/local/Cellar/rbenv/0.3.0/completions ~/.rbenv/completions
chmod +x ~/.rbenv/completions/rbenv.bash #permission deniedとか言われるので…


$rbenv install 1.9.3-p194 
$rbenv global 1.9.3-p194 
$rbenv rehash


Shota Senga

@__senta

Software Developer who enjoys beer 🍻 and music 🎧