You cannot change RBE files as they are encrypted.
(1) You can make a temporary change to the File class until the author(s) of affected extension catch up and fix their extension code for Ruby 3.x ( SketchUp 24.0 and later. )
The Ruby statement needed to be evaluated before any extensions with the old method call are loaded:
File.define_singleton_method(:exists?) { |file_name| FileTest.exist?(file_name) }
I've wrapped it into a file you can install with the SketchUp Extension Manager ...
# encoding: UTF-8
#
# Redefine the File::exists? class method that was removed in Ruby 3:
unless File.respond_to?(:exists?)
File.define_singleton_method(:exists?) { |file_name|
FileTest.exist?(file_name)
}
end
!!_Ruby3_Fix_File_exists.rbz (315 Bytes)
(2) Snap objects are now built-into SketchUp as native objects.