lml/commontator

undefined method `exists?' for File:Class

Closed this issue · 1 comments

Using commontator 7.0.0 and ruby 3.2.2

$ rake commontator:install

rake aborted!
NoMethodError: undefined method `exists?' for File:Class
/usr/local/bundle/gems/commontator-7.0.0/lib/tasks/commontator_tasks.rake:10:in `block (4 levels) in <main>'
<internal:dir>:220:in `glob'
/usr/local/bundle/gems/commontator-7.0.0/lib/tasks/commontator_tasks.rake:9:in `block (3 levels) in <main>'
/usr/local/bundle/gems/commontator-7.0.0/lib/tasks/commontator_tasks.rake:34:in `block (2 levels) in <main>'
Tasks: TOP => commontator:install:initializers

Looks like File.exists? has been removed in Ruby 3.2.0

Released version 7.0.1 with the fix