LoginSignup
2
2

More than 5 years have passed since last update.

rbenvインストール

Posted at

rbenvをインストールした時PATH

  • ~/.bashrc に以下を追加
    export PATH=~/.rbenv/shims:$PATH
    eval "$(rbenv init -)"

  • bash_profileを読み込む
    $ source ~/.bash_profile

  • rbenvでrubyインストール
    rbenv install 2.0.0-p195
    rbenv rehash

  • 確認
    $ which ruby
    /Users/[USERNAME]/.rbenv/shims/ruby
    になってればOK

2
2
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2