-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Labels
TriageIssue needs to be assessed and labeled, further information on reported might be neededIssue needs to be assessed and labeled, further information on reported might be needed
Milestone
Description
Description
openstudio.bundle is installed in ./Ruby and libopenstudiolib.dylib is installed in ./lib. However, there is no @loader_path/../lib in openstudio.bundle which means that trying to load openstudio in system ruby fails.
Current Behavior
ruby -I /path/to/os/Ruby/ -e "require 'openstudio' will fail due to libopenstudiolib.dylib not found
Expected Behavior
@loader_path/../lib in openstudio.bundle will allow libopenstudiolib.dylib to be found
Steps to reproduce
ruby -I /path/to/os/Ruby/ -e "require 'openstudio'
Possible Solution
Could possibly set this similar to where it is set for Python bindings: https://github.com/NREL/OpenStudio/blob/develop/ProjectMacros.cmake#L392
Operating System affected
macOS arm64, macOS x86_64
Environment
N/A
Version of OpenStudio
3.11.0-rc2
Context
No response
Metadata
Metadata
Assignees
Labels
TriageIssue needs to be assessed and labeled, further information on reported might be neededIssue needs to be assessed and labeled, further information on reported might be needed