LoginSignup
0
1

More than 1 year has passed since last update.

anyenvでrbenv自体をアップデートして、最新のRubyのバージョンをインストールする

Last updated at Posted at 2021-12-10

rubyやpython, nodeなどのプログラミング言語の異なるversionを管理できるanyenv
このanyenvを利用してrubyのバージョン管理をするrbenvを使ってrubyをインストールする

このときインストール可能なリストの中にRubyの最新版が見つからない場合に、rbenv自体を更新して最新版のrubyを取得する方法です。

rbenvの更新コマンド

anyenv update rbenv

更新後のリスト

rbenv install --list
2.6.9
2.7.5
3.0.3
jruby-9.3.2.0
mruby-3.0.0
rbx-5.0
truffleruby-21.3.0
truffleruby+graalvm-21.3.0

Only the latest stable releases for each Ruby implementation are shown.
Use 'rbenv install --list-all / -L' to show all local versions.

定期的にググるので自分でまとめておきました。

0
1
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
0
1