lib/rubygems/ext/rake_builder.rb in rubygems-update-3.0.9 vs lib/rubygems/ext/rake_builder.rb in rubygems-update-3.1.0.pre1

- old
+ new

@@ -18,10 +18,10 @@ if rake rake = rake.shellsplit else begin - rake = [Gem.ruby, "-rrubygems", Gem.bin_path('rake', 'rake')] + rake = [Gem.ruby, "-I#{File.expand_path("..", __dir__)}", "-rrubygems", Gem.bin_path('rake', 'rake')] rescue Gem::Exception rake = [Gem.default_exec_format % 'rake'] end end