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

Revision history [back]

click to hide/show revision 1
initial version

Finally, I was able to build the latest openstudio-standards using Ruby version 2.7.2p137 (2020-10-01 revision 5445e04352). Below are summary of the exercises I went through in resolving the build issue I had:

  • I had two versions of Ruby DevKits (devkit-2.5.8 and devkit-2.7.2). I uninstalled and installed both ruby versions and tested it with bundler versions (2.1.0 and 2.1.4) and their dependencies, but it did not resolve my problem.

  • Then I uninstalled both ruby versions and installed Ruby version 2.5.8 only and tested with bundler versions 2.1.0 and 2.1.4. This configuration also failed to build. Note that I tried this configuration because the openstudio-standard suggests using ruby version 2.5.8 at the link here developmentInformation.

  • Finally, I uninstalled Ruby version 2.5.8, installed Ruby version 2.7.2p137 and bundler version 2.1.4, and it worked. Now, only Ruby version 2.7.2p137 resides in my computer.

I have two questions for openstudio-standards developers to comments on:

  • Maybe the latest openstudio-standards does not build using ruby version 2.5.8. Is this correct? If so, please update the development information documents for developers on github?
  • Can I have multiple versions of Ruby installed in my machine and selectively instruct the version compatible with the latest openstudio-standards source code for building the gem?

Thanks.