(Shaking my head bemused wonder) 
Refer to the official documentation for Sketchup::require
…
.require(path) ⇒ Boolean
The require method is used to include encrypted and nonencrypted ruby files. This is an alias of the Sketchup.load
method.
You do not need to include the file extension on the path. This method will look for .rbe first (encrypted) and then .rbs (the deprecated scrambled format) and finally .rb (unencrypted) files. The loading order was changed in SketchUp 2016 when the new .rbe encryption was introduced. Prior to SketchUp 2016 the loading order was first .rb then .rbs.
Note that it and Sketchup::load
are aliases …
The load method is used to include encrypted and nonencrypted ruby files.
You do not need to include the file extension on the path. This method will look for .rb first (unencrypted) and then .rbe (encrypted) and finally .rbs (the deprecated scrambled format) files. See the “Distributing your Plugin” article for details.
These descriptions have been there for 4 years now. And even before the changes when rbe was introduced, it still told coders that their code does not need a file extension when using this method (since ver 6 or earlier, ie whenever RBS scrambling was introduced which I know was before version 7.) So let’s say that this information has been around at least 13 years.
In addition, since Sketchup::register_extension
causes a call to the hidden method SketchupExtension.load()
, which just calls Sketchup.load()
… you do not need to use a file extension in the second argument of the SketchupExtension
class constructor method call.
Thirdly, the SketchupExtension
class will determine the absolute path of the extension. (I suggest you read the "extensions.rb"
file in the SketchUp "Tools"
subfolder (of it’s %ProgramFiles%
folder. Ie, it’s binary application folder.)
…
These two statements are mutually exclusive. RBS is not encryption per se (it scrambling at best) and has been known to be cracked for many years even before RBE was introduced.
Continuing to publish RBS content does 2 things.
It gives away your IP. I could read it if I desired and do not even need a “cracking tool” or RBS unscrambler. But such RBS unscramblers are out there on the web if you wish to search for them.
The other thing it does (since RBS allows access to the unscrambed code) is give crackers an idea of how the RBE encryption is done. (One of the reasons why the British were able to crack many of the Nazis Enigma codes was because they included the same H.H. salutatory at the start of every message. How dumb can you be! [referring to the Nazis])