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

NameError: uninitialized constant HTMLCSSToImage::OpenStruct #5

Closed
janz93 opened this issue Oct 10, 2024 · 0 comments · Fixed by #6
Closed

NameError: uninitialized constant HTMLCSSToImage::OpenStruct #5

janz93 opened this issue Oct 10, 2024 · 0 comments · Fixed by #6

Comments

@janz93
Copy link
Contributor

janz93 commented Oct 10, 2024

I bump the version of Rake to 13.2.0 and got a NameError at the above point.

Rake uses Struct instead of OpenStruct in version 13.2.0.
ruby/rake#545

It seems that OpenStruct loading is implicitly dependent on Rake.

I suggest adding require 'ostruct' or using Struct instead of the deprecated OpenStruct.

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 a pull request may close this issue.

1 participant