Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Ruby version for OS 1.6.x measures

asked 2015-02-10 08:43:13 -0600

Mike Sahm gravatar image

updated 2017-08-05 13:21:08 -0600

Is the current OpenStudio installation version 1.6.0 or development versions 1.6.x only compatible with Ruby v2.0.0-p594 as implied in the release narrative or can later builds such as v2.0.0-p598 or later versions such as v2.1.5 be used as the Ruby compiler for measures? Does the Ruby version (x64) need to be the same as the OpenStudio version

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-02-10 09:45:08 -0600

You can use other versions of Ruby 2.0, however this will only be for programmatic use outside of the OpenStudio GUI's. Within the GUI's OpenStudio uses the version of Ruby that comes with the installer. Your version of ruby does need to be 64bit if you are using the 64bit OpenStudio installer. I'm not sure about using Ruby 2.1, I'll follow up with that unless someone else chimes in first.

edit flag offensive delete link more


Could you update this @David Goldwasser? I'm wondering what's the latest Ruby build I can use. I have Ruby 2.0.0p643-x64 right now, but I'm have trouble installing some gems I want to use for programmatic access to openstudio models, so I'd like to update it.

Julien Marrec gravatar image Julien Marrec  ( 2015-09-07 04:46:26 -0600 )edit

answered 2015-02-10 11:19:09 -0600

The OpenStudio team only supports the version of Ruby that the official installers are built and ship with. Your mileage may vary using any other version. I would guess that you would have more success staying with later updates in the 2.0.0 series than moving to the 2.1 series.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

1 follower


Asked: 2015-02-10 08:43:13 -0600

Seen: 79 times

Last updated: Feb 10 '15