However %x strings work fine for me, Win7 64-bit, SketchUp 2016 Pro 64-bit.
The Kernel backquote method was bugged early in SketchUp with Ruby 2.0, I think either v2014 or v2015 initial release. But I thought it was fixed in a later maintenance release. (%x strings use the Kernel backquote method.)
The output itself is not important we are just looking to get output back to ruby. I tested this code on 3 different computer and none gives any feedback.
computer 1 (VMWare)
SketchUp Pro 2014 32bit
SketchUp Pro 2015 64bit
SketchUp Pro 2016 32bit
computer 2 Windows 10
SketchUp Pro 2014 32bit
SketchUp Pro 2015 64bit
SketchUp Make 2016 64bit
computer 3 Windows 7
SketchUp Pro 2016 32 bit (clean install)
What is different on your system that this seams to work on your system and not at any of my systems?
Your Win10 64-bit machine has a path to C:\Ruby200\bin which might normally be a 32-bit Ruby install. That is OK on a 64-bit machine running either 32-bit or 64-bit Windows. (I actually have both installed as well as both the 32-bit and 64-bit DevKits, but only one is “active” at a time.)
However, on your Win7 32-bit machine, it has a path to C:\Ruby200-x64\bin which normally would be a 64-bit Ruby install.
I also notice that your user name has a space in it. Any Unicode characters ?
You start SketchUp from the shortcut correct ? And it is set to “Run as administrator” ?
IE, My report has: __COMPAT_LAYER : RunAsAdmin
just below the output for the %windir% environment variable. Neither of your reports do.