Upgrading Global Ruby Version on macOS
问题 I am trying to update Ruby on my computer to version 2.7.0 as that is the latest stable version. Running macOS Catalina Version 10.15.3 Have tried the top two solutions from this StackOverflow post. 1. Using just brew brew upgrade ruby just confirms that "ruby 2.6.5 already installed" 2. Using rbenv rbenv install 2.7.0 rbenv global 2.7.0 After installation I get confirmation that ruby 2.7.0 is installed, but when I close terminal, and check version, 2.6.5 is still the current version.