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