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

Add New Ruby Gem to OpenStudio Ruby Installation

asked 2015-02-23 15:28:21 -0600

Mike Sahm gravatar image

updated 2015-07-11 10:44:17 -0600

How can I install a new Gem in the Ruby installation that is installed and used by OpenStudio. I am using tiny_tds successfully outside of running OS measures but can not resolve the same require statements from inside running measures. I have tried copying the related Gem files directly from the external Ruby-200-p594 installation that works in RubyMine to the OpenStudio installation folder C:\Program Files\OpenStudio 1.6.0\ruby-install\ruby\lib\ruby\gems\2.0.0\gems but this did not resolve the issue. Is there a process for adding new Gems that OpenStudio measure will be able to find?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-23 15:46:06 -0600

OpenStudio does not currently support requiring gems from measures although there is a feature request for this.

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

Stats

Asked: 2015-02-23 15:28:21 -0600

Seen: 190 times

Last updated: Feb 23 '15