Skip to content

Commit

Permalink
Merge pull request #351 from Shopify/rwstauner/rbconfig
Browse files Browse the repository at this point in the history
Require rbconfig before use in harness-common so we can disable gems
  • Loading branch information
rwstauner authored Dec 5, 2024
2 parents a0cfc0c + 295af15 commit cbe285e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions harness/harness-common.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'rbconfig'

# Ensure the ruby in PATH is the ruby running this, so we can safely shell out to other commands
ruby_in_path = `ruby -e 'print RbConfig.ruby'`
unless ruby_in_path == RbConfig.ruby
Expand Down

0 comments on commit cbe285e

Please sign in to comment.