You ve got to spend no more than 20 to mod a system on 11.4 or higher. so I uninstall it, and reinstall with x86 and worked /bin/bash -c "$(curl -fsSL )"Įcho 'eval "$(/usr/local/bin/brew shellenv)"' > /Users/mberrueta/. The guide has every method known to install CFW, so if it isn't in the guide, it isn't possible yet, except for 2 methods kept unpublished and unreleased to keep in reserve for the final firmware version at end of life. Thanks to rosetta I has brew under arm64. UPDATEįor Ruby 2.2 please change the following variable: export do a asdf reshim ruby Most of the credits go to this Github issue. ![]() Note that really old versions below 2.5 might still have issues. Now start a new terminal session and you can try installing the older ruby versions: asdf install ruby 2.7.2 Note that for some other shells like fish the exporting of these variables will be a bit different. This will ensure that the proper libraries and headers are used during the installations and it will ignore the implicit-function-declaration that is preventing some versions to continue installation. zshrc add the following ENV variables: export RUBY_CONFIGURE_OPTS="-with-openssl-dir=$(brew -prefix LDFLAGS="-L/opt/homebrew/opt/readline/lib:$LDFLAGS"Įxport CPPFLAGS="-I/opt/homebrew/opt/readline/include:$CPPFLAGS"Įxport PKG_CONFIG_PATH="/opt/homebrew/opt/readline/lib/pkgconfig:$PKG_CONFIG_PATH"Įxport optflags="-Wno-error=implicit-function-declaration"Įxport LDFLAGS="-L/opt/homebrew/opt/libffi/lib:$LDFLAGS"Įxport CPPFLAGS="-I/opt/homebrew/opt/libffi/include:$CPPFLAGS"Įxport PKG_CONFIG_PATH="/opt/homebrew/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH" Reinstall the current versions of openssl, readline and ruby-build in order to have the latest versions and configs: brew uninstall -ignore-dependencies readlineīrew uninstall -ignore-dependencies opensslīrew uninstall -ignore-dependencies ruby-build ![]() In my case it's asdf-ruby installed over homebrew: brew upgrade asdf Upgrade to the latest version of rbenv or asdf-ruby plugin using your prefered installation method. In order to make installing of Ruby versions 2.6.x or 2.7.x successful on M1 MacBook using either rbenv or asdf (asdf is used in this example) follow these steps:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |