Ruby bindings in OpenStudio SDK error
Hi all,
I installed Ruby 2.7.3 onto my machine, which is the recommended version. I am using OS 2.9.0. I do not know if the embedded Ruby interpreter in OS 2.9.0 is a different version than 2.7.3 (maybe that is causing my problem).
I am trying to get OS gems/Ruby bindings (not sure the correct terminology here) into my command prompt/interactive ruby so I can more easily write measures.
However, I am getting this error when typing require "openstudio."
edit: I was able to use uru to switch to the correct version of Ruby (2.2.4) for OS 2.9.0.
I faced an additional error thrown because I was using 32-bit Ruby vs 64-bit Ruby, but I was able to correct that by downloading Ruby 2.2.4x64 and switching to that environment using uru.
Now I am facing this error message.
UPDATE: not sure what worked, maybe I forgot to switch to the x64 version of Ruby 2.2.4 (correct Ruby version for E+ v9.2), but I got the OS SDK bindings to work!
Thanks!