gazebosim / gz-tools

Command line tools for the Gazebo libraries.
https://gazebosim.org
Apache License 2.0
14 stars 18 forks source link

Fix dll search paths for Ruby on Windows #140

Closed azeey closed 2 months ago

azeey commented 2 months ago

🦟 Bug fix

Summary

The version of Ruby we use in our CI comes from https://rubyinstaller.org/, which according to their wiki says that the PATH environment variable is ignored when searching for dlls. This has been one of the reasons the gz tool doesn't work on Windows in our CI. This patch fixes it by setting RUBY_DLL_PATH equal to PATH.

Needed by https://github.com/gazebosim/sdformat/pull/1374

Successful build in Build Status

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.