Closed marciotoshio closed 4 years ago
Oh wow, I had no idea about this hidden dependency. Since the dependency is optional (require error is swallowed, and we're not using it), the simplest solution here seems to remove the require from the version we are vendoring.
If we already have the net-http-pipeline gem installed and try to vendor it the gem is not vendored because Bundler loads it before vendoring (https://github.com/bundler/bundler/blob/master/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb#L7).
To reproduce this:
1- Gemfile
1-
bundle install
1-bundle install --path vendor/bundle`` 1-
bundle check`Bundle check gives this: