LoginSignup
5
2

More than 3 years have passed since last update.

rbenv install でほしいverがない場合

Posted at

rbenvのverがない時

brew update && brew upgrade ruby-build をしてまず rbenv install -l で欲しいverを使えるようにしておく
これでない場合ヒントみたいなのが出ているので、その場所に cd を使って移動 git pull をする
↓参照


ruby-build: definition not found: 2.4.5

See all available versions with `rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

  cd /Users/macpro/.rbenv/plugins/ruby-build && git pull && cd -

cd /Users/macpro/.rbenv/plugins/ruby-build/
git pull
って感じ

rbenv install -l
をすると欲しいverが入っている(あくまで今回2.4.5が欲しくてなかったときにやったもの)

開発環境を作る際

rbenvで簡単にver管理できるのでものすごい便利だが
ちょっとしたことで困ることがあった今回のような例のときは注意が必要だと思った

英語読めるようにしなければ、、、、笑

という個人的メモでしたとさ。

5
2
0

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
5
2