Skip to content

Commit cbe285e

Browse files
authored
Merge pull request #351 from Shopify/rwstauner/rbconfig
Require rbconfig before use in harness-common so we can disable gems
2 parents a0cfc0c + 295af15 commit cbe285e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

harness/harness-common.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'rbconfig'
2+
13
# Ensure the ruby in PATH is the ruby running this, so we can safely shell out to other commands
24
ruby_in_path = `ruby -e 'print RbConfig.ruby'`
35
unless ruby_in_path == RbConfig.ruby

0 commit comments

Comments
 (0)