Skip to content

Conversation

@hardywu
Copy link

@hardywu hardywu commented Jun 22, 2020

unzip the wkhtmltopdf binary on installation using gem extension.
related #57

@unixmonkey
Copy link
Collaborator

Interesting, setting up an empty c-extension to unpack the right binary on install.

Could this be accomplished with a simpler post_install task like so:

Gem.post_install do
  # unzip correct binary
end

Or does that still have the permission issue?

@hardywu
Copy link
Author

hardywu commented Jun 23, 2020

@unixmonkey No, It can't. post_install hooks are not working at the level within the gem package.

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.

2 participants