-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
"Segmentation fault" error with the concurrent-ruby
gem when trying to run any rails
command in the Dev Container on my M2 Mac
#283
Comments
Hey @leemcalilly - I added the devcontainer config into this project and run an M3 Mac. I will try on an M1 Mac and see if this happens there. It may be isolated to M2 (unlikely tbh). Will report back. |
Yeah I can't replicate on my M1 or M3 (I just updated to 14.3 too). 🤷🏻♂️ Let's see if anyone else with an M2 has this #science |
I'll try to explore this more when I have a minute. |
There's a known issue on Dockerized Ruby 3.3.0 apps and Apple Silicon. I am currently applying the patch on my apps until Ruby 3.3.1 is released. ruby/ruby#9371 (comment) |
how to istall this app on Docker? any documentation? |
I think this is the issue. I can just build my own docker image locally to contribute, but if this is a common problem, it might be worth switching to Ruby 3.2.3 for the near term, so the dev containers work out of the box on every Mac. |
@leemcalilly issue with switching to 3.2.3 in the devcontainer is that it has effects like having to also update the ruby version in the gemfile etc. Gets messy. Instead I've applied the patch as mentioned by @kobaltz in the devcontainer dockerfile, so we still get Ruby 3.3.0 and it should work without any further changes. Can you kick the tyres on it for me in this branch and see if it works for you #293 |
This PR fixed it @robzolkos #293 |
This could be me being a dumbass about Docker, but my initial googling suggests it might be related to Ruby 3.3.0
A Github Codespace ran Maybe just as the README suggests it should, and Docker is working on my Mac fine with other apps, but when I try to run any
rails
command I get this error:Has anyone else experienced this when trying to build the Dev Container on a Mac? I'm on an M2 MacOS14.3?
Normally I would try going back a version of Ruby or a different linux install or something in the Docker file, but that doesn't seem like the right approach for an open source project if I'm the only one experiencing this issue.
The text was updated successfully, but these errors were encountered: