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

Install Ruby Gem for OpenStudio 2.1 Measures

asked 2017-06-01 16:56:57 -0500

updated 2017-08-05 07:33:09 -0500

Where can I install a ruby gem for use with OpenStudio 2.1.0 measures?

In past versions of OpenStudio (OS 1.#.#), I would install the appropriate files under the 'ruby-install' folder located in the main 'OpenStudio 1.#.#' folder.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-02 14:17:03 -0500

I was able to get this working with the following...

(1) Create an environment variable for GEM_PATH and path it to my local gem directory

(2) Use the OpenStudio CLI and set --gem_path DIR to my local gem directory (same path as above)

Big thanks to @Julien Marrec @David Goldwasser @Eric Ringold for the suggestions and resources

edit flag offensive delete link more


That's an either/or right? You shouldn't need (1) if you use (2) at least, but I'm not 100% sure if (1) by itself works or not.

Julien Marrec's avatar Julien Marrec  ( 2017-06-06 03:03:24 -0500 )edit

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: 2017-06-01 16:56:57 -0500

Seen: 696 times

Last updated: Jun 02 '17