Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@andrewferk
Copy link
Contributor

Some versions of Ruby are identifying Apple M1 hosts as 'arm-apple-darwin20.3.0' and others 'aarch64-apple-darwin20.3.0'.

  • Ruby 2.6.5 - RbConfig::CONFIG['host'] == 'arm-apple-darwin20.3.0'
  • Ruby 2.6.7 - RbConfig::CONFIG['host'] == 'aarch64-apple-darwin20.3.0'

Some versions of Ruby are identifying Apple M1 hosts as 'arm-apple-darwin20.3.0' and others 'aarch64-apple-darwin20.3.0'.

* Ruby 2.6.5 - `RbConfig::CONFIG['host'] == 'arm-apple-darwin20.3.0'`
* Ruby 2.6.7 - `RbConfig::CONFIG['host'] == 'aarch64-apple-darwin20.3.0'`
@larskanis larskanis merged commit 4ad6fd5 into ffi:master May 12, 2021
@salochara
Copy link

Hi @andrewferk

I'm running ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [-darwin20] on the M1 macOS Big Sur and still running into the same issue.
I'm still getting the Seg Fault error:
Seg-Fault-M1-Error

Any other idea on how to fix this issue?

@axsuul
Copy link

axsuul commented Nov 13, 2021

@salochara Were you able to figure it out? Also getting the same issue (macOS Monterey)

@salochara
Copy link

Hey @axsuul
Just saw this!

Not really. I had to upgrade the ruby version in the project I was working on.
Here are the details: https://stackoverflow.com/questions/67713858/segmentation-fault-on-m1-running-a-rails-system-test

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

Successfully merging this pull request may close these issues.

4 participants