-
Notifications
You must be signed in to change notification settings - Fork 1
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
All tests fail with "ERROR: Can't find header dir for ruby" message #178
Comments
RubyInline creates a kind of binary extension for a gem (png in our case) |
I can add a custom step to tebako so that some Ruby code is executed before packaging |
I actually wonder if we need the png gem at all in Metanorma. If not then we don't need rubyinline. However, I'm also not sure if there is a generic way of solving this. |
We can have bundler plugin that implements post install hook that calls require for all gems, referencing RubyInline |
Calling "require" on all bundled gems is a reasonable requirement, for example, Opal also does that. As a side note, I wonder if we should also consider the bundler "vendor" mode which places all the gems in one directory that allows easy packaging. |
png is outdated (2015). I use the newer gem: https://rubygems.org/gems/libpng-ruby |
And I have removed the png gem from standoc; it turns out we didn't need it after all. |
Great, let's get that gem removed. |
I think this issue can be closed |
The text was updated successfully, but these errors were encountered: