Closed elct9620 closed 1 year ago
I got this error when using Ruby 2.7.7
undefined method `load_file' for JSON:Module (NoMethodError)
I think the reason is .load_file method is added after Ruby 3.0 https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html
.load_file
Hey @elct9620, thanks for reporting! Will push a new release shortly.
I got this error when using Ruby 2.7.7
I think the reason is
.load_file
method is added after Ruby 3.0 https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html