Skip to content
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

Error running '__rvm_make -j8', Installing ruby with Mac Pro M3 chip #1356

Open
sreenak opened this issue Feb 9, 2024 · 2 comments
Open

Comments

@sreenak
Copy link

sreenak commented Feb 9, 2024

I am trying to install Ruby on Rails in Mac Pro M3 , MySQL 8.0.3, ruby 2.5.3, rails, 5.1.4. I tried almost all solutions, but didn't work It gives the below error , tried the below commands too

 rvm install 2.5.3 --with-openssl-dir=/usr/local/opt/[email protected]
rvm install 2.5.3 --autolibs=disable  
rvm install 2.5.3 -- CFLAGS="-DUSE_FFI_CLOSURE_ALLOC"

Even all the above tries results same error as below.

me@me-MacBook-Pro: rvm install "ruby-2.5.3"
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/13.6/x86_64/ruby-2.5.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Running `brew update --auto-update`...
Updating certificates bundle '/usr/local/etc/[email protected]/cert.pem'
Requirements installation successful.
Installing Ruby from source to: /Users/.rvm/rubies/ruby-2.5.3, this may take a while depending on your cpu(s)...
ruby-2.5.3 - #downloading ruby-2.5.3, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13.5M  100 13.5M    0     0  4326k      0  0:00:03  0:00:03 --:--:-- 4330k
ruby-2.5.3 - #extracting ruby-2.5.3 to /Users/.rvm/src/ruby-2.5.3 - please wait
ruby-2.5.3 - #configuring - please wait
ruby-2.5.3 - #post-configuration - please wait
ruby-2.5.3 - #compiling - please wait
Error running '__rvm_make -j8',
please read /Users/.rvm/log/1707428031_ruby-2.5.3/make.log

There has been an error while running make. Halting the installation.

Even I followed this tutorial but it works only above 2.6 versions

Really I am stuck with this. Can anyone give any solution for this. Thank you for your valuable time.

@flavorjones
Copy link
Contributor

@sreenak what's in the log file mentioned in the output above? (/Users/.rvm/log/1707428031_ruby-2.5.3/make.log)

@jvkiran
Copy link

jvkiran commented Feb 13, 2024

@sreenak Can you check the arch, are executing commands on arm64?
Issue got fixed after switching to arm64 and specifiying openssl path, also use ruby 2.6.9 onwards, lower version may install with boken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants