Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix permission issue on some environment #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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