Ask A Question

Notifications

You’re not receiving notifications from this thread.

Rails 6, Webpacker and Docker on Apple M1

Gabriela Jack asked in Rails

Hi Chris,

I tried to leave a comment for episode #389 but was not successful. Not sure why. Anyway, I'm developing in Apple M1 and trying to dockerize a Rails 6 application, but running into a lot of errors when running docker-compose up. The whole process goes well until it tries to run rails webpacker:install. Then it complains of missing Nokogiri or some other gem, even when I saw the gems being installed previously.

I've tried some examples I saw here, and also from this guide from Docker, only with Rails 6 instead of 5. https://docs.docker.com/samples/rails/#build-the-project

What am I doing wrong?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.