'Can't install ruby 2.6.6 via rvm, error running '__rvm_make -10' on macbook pro m1
While installing the ruby 2.6.6 I'm getting this error:
Error running '__rvm_make -10'
please read /home/.rvm/log/1642694273_ruby-2.6.6/make.log
There has been an error while running make. Halting the installation.
I've tried to reinstall rvm but this changes nothing.
Other ruby versions are installed just fine.
Solution 1:[1]
rvm install 2.6.6 --with-out-ext=fiddle worked for me
Solution 2:[2]
Right click Terminal from the Application/Utilities folder, Get Info, tick the "Open using Rosetta" box.
Uninstall Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"rm -rf /opt/homebrew/*sudo rm -rf /opt/homebrewReinstall Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Restart terminal
Check Homebrew is working fine:
brew doctorReinstall openssl:
brew install opensslInstall Ruby:
rvm install 2.5.3Or any version
Solution 3:[3]
run
sudo apt-get install ruby-dev
then try the install
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | spirito_libero |
| Solution 2 | Mayur Kambariya |
| Solution 3 | ochi |
