New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rvm install "ruby-2.5.1" --Error running '__rvm_make -j10', in MAC OS Monterey 12.4 #5240
Comments
Same issue on |
Was installing Ruby 3.0.0 on Mac OS Monterey with an M2 chip. I recommend actually reading the error in the log because I had to try a couple of different things to finally get this to work, and I'm not 100% sure which one actually did the trick: First error: closure.c:265:14: error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
result = ffi_prep_closure(pcl, cif, callback, (void *)self);
^
1 error generated. It looks like @ravisankarofp's suggestion was meant to address this but unfortunate that didn't work for me. This did, however: https://stackoverflow.com/a/68351730/3700490 I then got this error:
So then I read https://stackoverflow.com/a/67249174/3700490 and the following resulted in a successful install:
I'll report back if this results in a broken Ruby install. |
I experienced the same issue with |
try |
Thanks for your solution. That works in my case. |
Thanks th
This worked for me. Using a macbook pro M1 |
didn't work for me |
Mac M1 Monterey
I solved the problem like this
|
@sometimescasey Super thanks for the pointer! I am on Mac M2 chipset and I was facing the |
Okay, after running into this a number of times I've finally figured out my issues, so I'll document them here. This is on a 2021 M1 MacBook Pro. To @sometimescasey 's point, you should review your log file to determine specifically which issues you are facing. My first error like some of the above comments was:
This is fixed by setting the appropriate flags as also already mentioned:
The next issue I ran into is not mentioned in the above comments:
In my case, trying to install
|
For me it was necessary to follow this instructions: https://medium.com/@canerten/building-ruby-3-1-3-fails-with-openssl-1-0-2o-1-on-m1-apple-silicon-mac-with-brew-89d7e550420b Then MacBook Air M2 macOs 14.0 By the way: This solved my original problem that after installing rails, rails wasn't found on my system. ( |
Following up on this, using To solve this I linked the older version of
|
THX!!!! Was having issues with |
I am using sonoma this command solved my problem. THANK YOU : ) |
I'm using Mac M1 with Sonoma and this works for me installing Ruby 3.3.0 Thanks! |
This one worked for me (Ventura 13.1) => OS cloned for another machine that's who i've force arch:
|
thank you so so so much |
Below is the error i am facing while installig ruby-2.5.1. Please note that i have to install only this specific version of ruby. Appreciate if anyone can provide hints/clues to solve this issue?
Error running '__rvm_make -j10',
please read /Users/ravisankar/.rvm/log/1658948998_ruby-2.5.1/make.log
The text was updated successfully, but these errors were encountered: