diff options
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r-- | spec/support/path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb index b957e24abe..cc5aebb01b 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -22,7 +22,7 @@ module Spec end def gem_bin - @gem_bin ||= ruby_core? ? ENV["GEM_COMMAND"] : "#{Gem.ruby} --disable-gems -r#{spec_dir}/support/rubygems -S gem --backtrace" + @gem_bin ||= ruby_core? ? ENV["GEM_COMMAND"] : "#{Gem.ruby} -I#{spec_dir}/rubygems -S gem --backtrace" end def spec_dir |