Skip to content

Commit 4b1c480

Browse files
committed
Do not register local gems within ruby_bundle()
1 parent 299c4d8 commit 4b1c480

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ruby/private/bundle/create_bundle_build_file.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ def remove_bundler_version!
247247
end
248248

249249
def register_gem(spec, template_out, bundle_lib_paths, bundle_binaries)
250+
# Do not register local gems
251+
return if spec.source.path?
252+
250253
gem_path = GEM_PATH[ruby_version, spec.name, spec.version]
251254
spec_path = SPEC_PATH[ruby_version, spec.name, spec.version]
252255
base_dir = "lib/ruby/#{ruby_version}"

0 commit comments

Comments
 (0)