Update effect on installed Ruby versions. #1485
-
Hi, I'm currently running an older version of rbenv on my production server and I would like to upgrade it to use ruby 3. Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The short answer is that upgrading rbenv itself should have no impact on the versions of ruby that are installed. Rubies live under Rbenv itself can live anywhere, with its |
Beta Was this translation helpful? Give feedback.
The short answer is that upgrading rbenv itself should have no impact on the versions of ruby that are installed. Rubies live under
$(rbenv root)/versions
(seeRBENV_ROOT
under Environment Variables in readme)Rbenv itself can live anywhere, with its
bin/
directory added to PATH. If you installed rbenv via git clone, then simply pulling would only update rbenv's installation directory. If you installed via a package manager, like homebrew, then it can be upgraded with the package manager and again would only affect rbenv's installation itself.