Skip to content

Commit

Permalink
Debug jruby gem server conformance failures
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Giddins <[email protected]>
  • Loading branch information
segiddins committed Feb 25, 2025
1 parent 6ea7b32 commit 3f822e6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec/support/jruby_binstubs/gem_server_conformance
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
require "rubygems"

load Gem.bin_path("gem_server_conformance", "gem_server_conformance")
begin
load Gem.bin_path("gem_server_conformance", "gem_server_conformance")
rescue Gem::GemNotFoundException
require "bundler"
Bundler::Env.write($stderr)
raise
end

0 comments on commit 3f822e6

Please sign in to comment.