exec format error #11

andresbravog opened this Issue Jun 3, 2013 · 1 comment


None yet
2 participants

I'm trying to use this gem in my local osx dev environment and i'm getting an "cannot execute binary file" error.

So when i try to perform the command in console:

"/Users/myuser/.rvm/gems/ruby-1.9.3-p327@my-proyect/gems/wkhtmltopdf-heroku-1.0.0/bin/wkhtmltopdf-linux-amd64" -q  --footer-center "Center" --footer-left "Left" --footer-right "Right"       "file:////var/folders/8d/834zplp91pv8nr4bsxbgyhzr0000gn/T/wicked_pdf20130603-35780-1a0uwm9.html" "/var/folders/8d/834zplp91pv8nr4bsxbgyhzr0000gn/T/wicked_pdf_generated_file20130603-35780-1dupf6t.pdf"

i'm geting the error:

zsh: exec format error:

I can assume that is a dependency, any ideas??


pallymore commented Mar 19, 2015

Hello @andresbravog the binary included in this gem only works in Ubuntu 14.04 64-bit.
For development & testing, please use: https://github.com/pallymore/wkhtmltopdf-binary-edge

pallymore closed this Mar 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment