Skip to content

Commit c638f86

Browse files
authored
fix: OpenStruct causes NameError in Rake13.2.0
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)
1 parent 056951a commit c638f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/htmlcsstoimage.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require "htmlcsstoimage/version"
22
require "httparty"
33
require "addressable"
4+
require "ostruct"
45

56
class HTMLCSSToImage
67
include HTTParty

0 commit comments

Comments
 (0)