10
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

anyenvを使ってる場合のruby-buildの更新方法

Posted at

問題

anyenvを使ってるんですが、rubyの特定のverが欲しいのにどうやってもrbenv install -lに出てこなくて困った

解決法

普通にruby-buildを更新すればいいのだが、anyenvを使ってる場合はanyenv内のruby-buildを更新してる必要があった
具体的には以下をやればおk

$ cd ~/.anyenv/envs/rbenv/plugins/ruby-build && git pull origin master

何がいけなかったか

brewでruby-buildがなぜか入ってて、brewで入れた方をupgradeしても更新されないのでハマった
辛い

10
11
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
10
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?