Developing on Windows, what version of Ruby should I be using with SketchUp 2022?
Ruby 3.1.3 or 3.2?
Windows Ruby installer comes in a couple of different installers, rubyinstaller & rubyinstaller-devkit
Is the -devkit installer ok to use or should I go with the standard installer?
Also, SketchUp already has a version of Ruby installed so you do not need to install Ruby manually. If you install Ruby separately then SketchUp will not acknowledge that version of Ruby and it will keep using its own version of Ruby.
and Ruby will tell you it’s version. My 2022 Pro version says 2.7.2.
Longer answer:
Ruby has (among others) the three global variables RUBY_VERSION, RUBY_RELEASE_DATE, and RUBY_PLATFORM. When I check the value of the three in SketchUp Pro 2022 I get the following: