First time here? Check our help page!
2

Add New Ruby Gem to OpenStudio Ruby Installation

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?

Mike Sahm's avatar
151
Mike Sahm
asked 2015-02-23 15:28:21 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-07-11 10:44:17 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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

macumber's avatar
12k
macumber
answered 2015-02-23 15:46:06 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments