NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
496 stars 190 forks source link

v3.8.0-rc1 suffers pollution of environment variables related to bundler #5175

Closed kbenne closed 5 months ago

kbenne commented 5 months ago

rm -f Gemfile.lock && bundle install bundle exec rake workflow:analysis_tests

kbenne commented 5 months ago

@joseph-robertson would you be able to test this commit?

kbenne commented 5 months ago

The issue here was that bundler baked into the CLI was picking up on gems installed by (an external) bundler, due to environment variables set by bundle exec rake. OS CLI nulls the environment variables, but it was happening too late.