![mac update ruby 2.2 mac update ruby 2.2](https://d2i2nj5el4wq1j.cloudfront.net/assets/windows/wsl2_store-cbe40594c638e9ef0eff648a1f92f388ae2e26f65e53cef22e25b251d809556e.png)
Once the installation finishes, it will suggest you to add brew to your PATH.
#Mac update ruby 2.2 install
Install it again ? Just run the script found at the homepage this will install your new brew at /opt/homebrew if you're on M1, by default.So: sudo rm -rf /usr/local/Homebrew and sudo rm -rf /opt/homebrew There were left over files which I HAD to delete manually (I tried proceeding without doing that and failed). The previous step failed to me (the uninstallation threw errors).
![mac update ruby 2.2 mac update ruby 2.2](https://i.stack.imgur.com/RylbS.png)
I know this sucks a lot because you lose all your packages, that's why we saved them in the previous step.
![mac update ruby 2.2 mac update ruby 2.2](https://rails365.oss-cn-shenzhen.aliyuncs.com/uploads/photo/image/1409/2019/d2b5ca33bd970f64a6301fa75ae2eb22.png)
Ruby-2.7.2 - #post-configuration - please wait Ruby-2.7.2 - #downloading ruby-2.7.2, this may take a while depending on your connection. Installing Ruby from source to: /Users/devops/.rvm/rubies/ruby-2.7.2, this may take a while depending on your cpu(s). Installing required packages: automake, coreutils, libyaml, zlib - please waitĬertificates bundle is already up to date. Please read 'rvm help mount' to get more information on binary rubies. No binary rubies available for: osx/11.0/arm64/ruby-2.7.2.Ĭontinuing with compilation. Searching for binary rubies, this might take some time. Ruby-2.7.2 - #removing src/ruby-2.7.2 - please wait Installed ruby-2.7.2 to /Users/david/.rbenv/versions/2.7.2 Installed openssl-1.1.1i to /Users/david/.rbenv/versions/2.7.2 Inspect or clean up the working tree at /var/folders/3v/6w3dkjm53t93pl421z69hxy40000gn/T/7UpS Installed openssl-1.1.1i to /Users/david/.rbenv/versions/2.7.1īUILD FAILED (macOS 11.1 using ruby-build 20201225) Installed ruby-3.0.0 to /Users/david/.rbenv/versions/3.0.0 Installed openssl-1.1.1i to /Users/david/.rbenv/versions/3.0.0 And it is working now, thanks (just a few issues in older versions, nothing dramatic. I deleted Homebrew and install it natively for ARM, installed rbenv and symlinked into /usr/local/bin. Thanks for excellent work, and Merry Christmas. I tried different flags and absolutely no flags, aka rbenv install 2.7.2. usr/local/opt/readline/include/readline/readline.h:485:14: note: 'rl_username_completion_function' declared hereĮxtern char *rl_username_completion_function PARAMS((const char *, int)) # define rl_username_completion_function username_completion_function Readline.c:79:42: note: expanded from macro 'rl_username_completion_function'
![mac update ruby 2.2 mac update ruby 2.2](https://cdn.osxdaily.com/wp-content/uploads/2019/12/macos-catalina-10-15-2-update-download-1536x544.jpg)
Readline.c:1904:37: error: use of undeclared identifier 'username_completion_function' did you mean 'rl_username_completion_function'?