Closed unikitty37 closed 5 months ago
I had this exact error myself. There are multiple PRs waiting merging. For example this fixed things for me:
gem 'wkhtmltopdf-binary', github: 'willnet/wkhtmltopdf_binary_gem', branch: 'arm'
Many arm binaries were added with the above PR and a few others in version 0.12.6.7
of this gem, but there still isn't a build of wkhtmltopdf
for M-class Apple machines, and I'm not sure there ever will be.
However, it should work with Rosetta.
Please reopen this issue & let me know if I'm missing something.
When I install the
wkhtmltopdf_binary_gem
in a Docker container built onruby:2.7.4-slim-buster
on an Apple M1 machine, it fails with a RuntimeError:docker-compose exec rails arch
returnsaarch64
, so it should be trying to run the aarch64 version, and not touching qemu-i386.However, looking in the bin folder, there only appear to be builds for i386 and amd64; there are no aarch64 builds.
Please could they be added?