warbler icon indicating copy to clipboard operation
warbler copied to clipboard

NoMethodError: undefined method `exists?' for File:Class

Open gluester opened this issue 2 years ago • 2 comments

happens when running warble or warble -T

image

gluester avatar May 18 '23 00:05 gluester

Ruby 3.2 removes File.exists? that was deprecated in Ruby 2.1.0. I guess that warbler is not updated to consider that.

mohits avatar May 20 '23 14:05 mohits

@gluester you can work around this by adding an alias back for exists?.

enebo avatar May 21 '23 15:05 enebo