Since File.exists? has been deprecated and removed in ruby 3.2.0, running scaffold command outputs this error message:
.../lib/datagrid/scaffold.rb:127:in 'file_exists?': undefined method `exists?' for File:Class (NoMethodError)
File.exists?(name)
^^^^^^^^
Did you mean? exist?
Since
File.exists?
has been deprecated and removed in ruby 3.2.0, running scaffold command outputs this error message: