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

Revision history [back]

openstudio-standards gem path problem

I've built and installed the openstudio-standards gem, but although OpenStudio can find the measure, I get the following error when trying to apply it.

    dyld: warning, LC_RPATH @executable_path/../lib in /Applications/OpenStudio 1.10.0/Ruby/openstudio/openstudiosdd.bundle being ignored in restricted program because of @executable_path
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- openstudio-standards (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript/user_script.rb:5:in `<class:CreateDOEPrototypeBuilding>'
    from /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript/user_script.rb:3:in `<top (required)>'
    from in.rb:103:in `load'
    from in.rb:103:in `<main>'
Script executing from: /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript
Found argument 'building_type' with value 'SmallOffice'.
Found argument 'template' with value '90.1-2010'.
Found argument 'climate_zone' with value 'ASHRAE 169-2006-2A'.

Does anyone either recognize the problem or know how to debug this from within OpenStudio? E.g., how can I tell where OpenStudio is looking for gems and what path I am missing in my PATH variable?

openstudio-standards gem path problem

I've built and installed the openstudio-standards gem, but although OpenStudio can find the measure, I get the following error when trying to apply it.

    dyld: warning, LC_RPATH @executable_path/../lib in /Applications/OpenStudio 1.10.0/Ruby/openstudio/openstudiosdd.bundle being ignored in restricted program because of @executable_path
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- openstudio-standards (LoadError)
    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript/user_script.rb:5:in `<class:CreateDOEPrototypeBuilding>'
    from /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript/user_script.rb:3:in `<top (required)>'
    from in.rb:103:in `load'
    from in.rb:103:in `<main>'
Script executing from: /private/var/folders/gs/9ltb1x5s3xd69zyybll7sjnh0000gn/T/OpenStudio.V30370/ApplyMeasureNow/UserScript
Found argument 'building_type' with value 'SmallOffice'.
Found argument 'template' with value '90.1-2010'.
Found argument 'climate_zone' with value 'ASHRAE 169-2006-2A'.

Does anyone either recognize the problem or know how to debug this from within OpenStudio? E.g., how can I tell where OpenStudio is looking for gems and what path I am missing in my PATH variable?