Skip to content

Commit

Permalink
Ignore error thrown by check_for_activated_spec!
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov authored Sep 7, 2024
1 parent 1b48a17 commit 55fecb2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stubs/bundler_stub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ def deq
end
end)

# ignore activated gems
require "bundler/runtime"
Bundler::Runtime.prepend(Module.new do
def check_for_activated_spec!(_)
end
end)

require "uri"
require "bundler/fetcher/compact_index"
Expand Down

0 comments on commit 55fecb2

Please sign in to comment.