LoginSignup
1

More than 5 years have passed since last update.

rbenv installでお目当てのrubyが見当たらない時の対処

Posted at

大まかに言うとgitで管理されているruby-buildをupdateしてあげればOK
rbenvはruby-buildを使ってruby installを行っている。
そこで、以下の2つの方法のどちらかでruby-buildをupdateしましょう。

1. Homebrewをアップデート

brew update
brew upgrade ruby-build

注:brew updateしたくないので、僕はもう1つの方法でアップデートします。

2. ruby-buildを直接update

 cd ~/.rbenv/plugins/ruby-build 
 git pull origin master

とりあえずこの処理はbrew updateと違い一瞬で終わるので素敵です。 以上

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
1