![]() ![]() Once the installation finishes, it will suggest you to add brew to your PATH.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).I know this sucks a lot because you lose all your packages, that's why we saved them in the previous step. Used this official uninstallation script to get rid of both Homebrews I had by running it twice, by passing -path=/usr/local/Homebrew and -path=/opt/homebrew respectively (which's where the 2 versions of my Homebrew were living).Take note of all the programs you have installed using brew list.Please create a new installation in /opt/homebrew using one of the Installing bundled gem cache: /opt/homebrew/opt/rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/cacheĮrror: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local) ! Installing bundled gems: /opt/homebrew/opt/rbenv/versions/3.0.0/lib/ruby/gems/3.0.0 Results logged to /var/folders/rn/c7nmr3x12gg5r8qwsr4ty8hh0000gn/T/ Inspect or clean up the working tree at /var/folders/rn/c7nmr3x12gg5r8qwsr4ty8hh0000gn/T/ opt/homebrew/bin/ruby-build: line 1121: 69588 Killed: 9 " $RUBY_BIN " -e ' manager = ARGV packages = exit 1 end ' " $(basename " $(type -p yum apt-get | head -1 ) " ) " 1>&4 2>&1īUILD FAILED (macOS 11.2 using ruby-build 20210119) Ruby was built without documentation, to build it run: rvm docs generate-ri Ruby-2.7.2 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). Ruby-2.7.2 - #generating default wrappers - please wait Ruby-2.7.2 - #importing gemsetfile /Users/devops/.rvm/gemsets/default.gems evaluated to empty gem list Ruby-2.7.2 - #generating global wrappers - please wait Ruby-2.7.2 - #gemset created - #importing gemset /Users/devops/.rvm/gemsets/global.gems - please wait Installed rubygems 3.1.4 is newer than 3.0.9 provided with installed ruby, skipping installation, use -force to force installation. Ruby-2.7.2 - #making binaries executable - please wait ![]() 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' Readline.c:1904:37: error: use of undeclared identifier 'username_completion_function' did you mean 'rl_username_completion_function'?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |