jekyll-gallery-generator icon indicating copy to clipboard operation
jekyll-gallery-generator copied to clipboard

ruby3.2 : undefined method `exists?' for File:Class (NoMethodError)

Open eoli3n opened this issue 6 months ago • 2 comments

Seems to not build with ruby3.2, because exists alias for exist is removed.

/home/user/dev/eoli3n.github.io/vendor/bundle/ruby/3.2.0/gems/jekyll-gallery-generator-1.2.4/lib/jekyll-gallery-generator.rb:98:in `initialize': undefined method `exists?' for File:Class (NoMethodError)

      unless File.exists?(gallery_index)
                 ^^^^^^^^
Did you mean?  exist?

https://stackoverflow.com/a/75353113

eoli3n avatar Dec 30 '23 22:12 eoli3n