Help us understand the problem. What is going on with this article?

最新の Ruby を Mac にインストールする手順

Ruby のバージョン管理には「 rbenv 」を使うのが定番だと思いますが、

基本的に、最新版しか必要ないのであれば、Homebrew でインストールして、管理するのもアリかもしれません。

$ ruby -v
ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]

それなら「 最新の Git を Mac にインストールする手順 」と同じで、以下のようなコマンドを実行するだけで済みます。

$ brew install ruby
$ echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
$ source ~/.bash_profile

普段から、複数のバージョンを使い分けるというわけでもないのであれば、特に問題もないのではないでしょうか。

$ ruby -v
ruby 2.6.4p104 (2019-08-28 revision 67798) [x86_64-darwin18]
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした