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.
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers
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.
🦟 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 thegz
tool doesn't work on Windows in our CI. This patch fixes it by settingRUBY_DLL_PATH
equal toPATH
.Needed by https://github.com/gazebosim/sdformat/pull/1374
Successful build in![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=sdformat-pr-win&build=923)
Checklist
codecheck
passed (See contributing)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.