Have you managed to run JPS pro on an M1 mac??
Hi,
I have a mac book pro M1 and it's really a pain to run a ruby project on it.
I met issues with lots of gem (ffi, noticed, msgpack-1.4.5...)
Error: (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')))...
I bought a JPS to avoid configuration problems and it's a headache to try all the solutions on the web (Rosetta, ruby version...) without any real success.
I know it's not a specific JPS problem, but give me some hope.
Has anyone had success getting JPS started with an M1 mac? If yes, how?
Thanks very much.
I have a mac book pro M1 and it's really a pain to run a ruby project on it.
I met issues with lots of gem (ffi, noticed, msgpack-1.4.5...)
Error: (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')))...
I bought a JPS to avoid configuration problems and it's a headache to try all the solutions on the web (Rosetta, ruby version...) without any real success.
I know it's not a specific JPS problem, but give me some hope.
Has anyone had success getting JPS started with an M1 mac? If yes, how?
Thanks very much.
Well, I have the basic server up and running. I was having the same errors.
It seems to me that it is a case of pre-existing gems being one architecture and some being another. So all the gems info has to be purged from your system.
This uninstalls the gems ( this is someone else's code that seems to feed installed gem names to uninstall ).
gem list --no-versions | xargs -n1 gem uninstall -a
Then it needs to be cleaned with.
bundle clean --force
I had a couple of extra gems to add that were no longer standard in rails 7 ( net/smtp and matrix ) but my project is a little dusty.
Once I got that done rails s gave me a running server on an M1 Mac Mini.
It seems to me that it is a case of pre-existing gems being one architecture and some being another. So all the gems info has to be purged from your system.
This uninstalls the gems ( this is someone else's code that seems to feed installed gem names to uninstall ).
gem list --no-versions | xargs -n1 gem uninstall -a
Then it needs to be cleaned with.
bundle clean --force
I had a couple of extra gems to add that were no longer standard in rails 7 ( net/smtp and matrix ) but my project is a little dusty.
Once I got that done rails s gave me a running server on an M1 Mac Mini.
Notifications
You’re not receiving notifications from this thread.