All threads / Rails 6, Webpacker and Docker on Apple M1
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?

Join the discussion

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

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

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

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.