Skip to content

fix permission issue on some environment - #85

Open
hardywu wants to merge 1 commit into
zakird:masterfrom
hardywu:master
Open

fix permission issue on some environment#85
hardywu wants to merge 1 commit into
zakird:masterfrom
hardywu:master

Conversation

@hardywu

@hardywu hardywu commented Jun 22, 2020

Copy link
Copy Markdown

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

@unixmonkey

Copy link
Copy Markdown
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

hardywu commented Jun 23, 2020

Copy link
Copy Markdown
Author

@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