[Plugin] Smooth Zoom 2.1.0 - 24 October 2021
-
I am getting an error mesage when I install the extensions and open a project.Extension Errors Report
SketchUp: 24.0.553
OS: Windows 11
Ruby: 3.2.2Extension: SoothZoom (2.1.1a)
Error: NoMethodError (undefined method `exists?' for File:Class)It gives this error on both the library and the extension. Does anyone have a solution?
-
@Eric5261
File.exists? AND File.exist? methods have worked forever. although the File.exists? method has been deprecated for along time, but someone decided to remove it completely from the Ruby version used by v2024.
This has caused a lot of problems with code - I myself have had several files to fix for full compatibility.
To an English speaker File.exists? is the more logical grammatically correct form, so why it changed is somewhat mysterious.
It's a simple matter for the author to edit the files so only File.exist? is used...
If the file is RB you could edit it to suit, but I'm sure that Anton will fix it asap...
Advertisement