Skip to content

Commit

Permalink
fix: OpenStruct causes NameError in Rake13.2.0
Browse files Browse the repository at this point in the history
Loading of "ostruct" depends on Rake, so we need to explicitly load it and resolve the dependency.
Because Rake does not load "ostruct" since version 13.2.0.
[ruby/rake#545](ruby/rake#545)
  • Loading branch information
janz93 authored Oct 10, 2024
1 parent 056951a commit c638f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/htmlcsstoimage.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require "htmlcsstoimage/version"
require "httparty"
require "addressable"
require "ostruct"

class HTMLCSSToImage
include HTTParty
Expand Down

0 comments on commit c638f86

Please sign in to comment.