Skip to content

Conversation

irisyann
Copy link
Collaborator

@irisyann irisyann commented Aug 21, 2025

Generated by Devin. Manually patched because Devin doesn't have access to this repository.

This fix is needed because wkhtmltoimage-binary gem doesn't support ARM64 architecture. Recently our workers were upgraded to use Ubuntu 24.04 ARM64 architecture. This is causing imgkit to fail at generating social images for coins and categories because under the hood, imgkit gem uses wkhtmltoimage-binary gem.

  • Modify platform detection logic in wkhtmltoimage to add ARM64 support (aarch64-linux → 'aarch64', arm64-darwin → fallback to 'darwin-x64' for Rosetta)

  • Add 43MB ARM64 binary wkhtmltoimage-aarch64 to libexec/ directory (extracted from official wkhtmltopdf 0.12.6.1 release)

@irisyann irisyann force-pushed the devin/1724234741-add-arm64-support branch from a6550cd to aecd1a5 Compare August 21, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant