Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

Using Docker with Rails on M1 Mac

2
Rails

I have an M1 Mac and I always get errors for either sprocket-rails or nokogiri. I am using Ruby 3 and Rails 7. Is anyone using Docker with an M1 Mac and Ruby 3/Rails 7 with success? If so, could you share a Dockerfile and docker-compose.yml?

Thank you!

Not sure if you still need this, but if anyone on M1 Mac needs a Dockerfile and docker-compose.yml you can try my repo on github : https://github.com/hdylizardeIdP/hotwireDevTurboTutorial. I get different errors when attempting to use Chris Oliver's docker setup, which I'm playing with and may create a PR

Excellent information. I followed your advice and everything began to function; I had made a similar mistake.

Join the discussion
Create an account Log in