1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/bundler
Bundlerbot 434af7303c
[bundler/bundler] Merge #7340
7340: Fix bundle clean issue r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that `bundle clean` is crashing under some conditions.

### What was your diagnosis of the problem?

My diagnosis was that sometimes (when the bundle includes git sourced gems with extensions), it assumes that some paths exist, but they don't.

### What is your fix for the problem, implemented in this PR?

My fix is to ignore those paths.

### Why did you choose this fix out of the possible options?

I chose this fix because it fixes the issue.

Fixes #7338.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
(cherry picked from commit b007fde67c77c1f15f13b97eda186644c2a2be04)

https://github.com/bundler/bundler/commit/3766053507
2019-09-18 18:26:33 +09:00
..
cli [bundler/bundler] Revert "Add all platforms to lockfile by default" 2019-09-18 18:26:32 +09:00
compact_index_client Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
fetcher [bundler/bundler] Use rubygems utility if available 2019-08-03 09:29:55 +09:00
installer [bundler/bundler] RUBY_ENGINE should always be defined after 1.8.7 2019-08-03 09:30:00 +09:00
plugin [bundler/bundler] Fix typo in comment: attibutes -> attributes 2019-08-16 14:30:23 +09:00
resolver Add guard as same as == 2019-08-30 12:49:27 +09:00
settings
source [bundler/bundler] Fix comments and messages to refer to https url 2019-09-18 18:26:32 +09:00
templates [bundler/bundler] Fix comments and messages to refer to https url 2019-09-18 18:26:32 +09:00
ui [bundler/bundler] Respect color option when instantiating shells 2019-08-03 09:29:55 +09:00
vendor Fix a couple of bundler issues with keyword argument separation 2019-08-30 12:39:31 -07:00
build_metadata.rb [bundler/bundler] build_metadata.rb - fix 'warning: instance variable @git_commit_sha not initialized' 2019-08-03 09:29:58 +09:00
bundler.gemspec Fix some bundler specs (#2380) 2019-08-20 09:46:31 +09:00
capistrano.rb [bundler/bundler] Fix comments and messages to refer to https url 2019-09-18 18:26:32 +09:00
cli.rb [bundler/bundler] Fix remembered flag deprecation message 2019-09-18 18:26:33 +09:00
compact_index_client.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
constants.rb
current_ruby.rb [bundler/bundler] [CurrentRuby] Say we are ruby? when the generic local platform is Gem::Platform::RUBY 2019-08-03 09:30:00 +09:00
definition.rb [bundler/bundler] Merge #7340 2019-09-18 18:26:33 +09:00
dep_proxy.rb
dependency.rb [bundler/bundler] Extract expanded_platforms 2019-08-03 09:29:57 +09:00
deployment.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
deprecate.rb
dsl.rb [bundler/bundler] Bundler displays a duplicate gem entries warning even if gems only appear once per group 2019-08-18 13:43:59 +09:00
endpoint_specification.rb
env.rb [bundler/bundler] Enable Style/UnneededInterpolation cop 2019-08-03 09:30:00 +09:00
environment_preserver.rb [bundler/bundler] Remove uneeded bundler key 2019-08-03 09:29:58 +09:00
errors.rb
feature_flag.rb [bundler/bundler] Remove cache_command_is_package feature flag 2019-08-03 09:29:58 +09:00
fetcher.rb [bundler/bundler] Bump net-http-persistent to 3.0.1 2019-08-03 09:30:00 +09:00
friendly_errors.rb [bundler/bundler] Fix comments and messages to refer to https url 2019-09-18 18:26:32 +09:00
gem_helper.rb Fix some bundler specs (#2380) 2019-08-20 09:46:31 +09:00
gem_helpers.rb [bundler/bundler] [GemHelpers] Remove the special code path for ruby platform being its own generic 2019-08-03 09:29:57 +09:00
gem_remote_fetcher.rb
gem_tasks.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
gem_version_promoter.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
gemdeps.rb
graph.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
index.rb
injector.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
inline.rb [bundler/bundler] Revert "Remove now meaningless setting" 2019-09-18 18:26:32 +09:00
installer.rb [bundler/bundler] [Package] Always resolve remotely for --all-platforms 2019-08-03 09:29:56 +09:00
lazy_specification.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
lockfile_generator.rb
lockfile_parser.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
match_platform.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
mirror.rb
plugin.rb [bundler/bundler] Last relative requires 2019-08-18 13:44:56 +09:00
process_lock.rb
psyched_yaml.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
remote_specification.rb
resolver.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
retry.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
ruby_dsl.rb
ruby_version.rb [bundler/bundler] Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION 2019-08-16 14:30:23 +09:00
rubygems_ext.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
rubygems_gem_installer.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
rubygems_integration.rb [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated. 2019-08-03 09:41:17 +09:00
runtime.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
settings.rb [bundler/bundler] Revert "Remove now meaningless setting" 2019-09-18 18:26:32 +09:00
setup.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
shared_helpers.rb Fix some bundler specs (#2380) 2019-08-20 09:46:31 +09:00
similarity_detector.rb [bundler/bundler] Fix comments and messages to refer to https url 2019-09-18 18:26:32 +09:00
source.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
source_list.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
spec_set.rb [bundler/bundler] Remove old rubies stuff no longer needed 2019-08-21 07:58:46 +09:00
stub_specification.rb [bundler/bundler] Drop rubygems 2.5.0 and 2.5.1 support 2019-08-03 09:29:58 +09:00
ui.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
uri_credentials_filter.rb [bundler/bundler] Bump rubocop to 0.74.0 2019-08-03 09:30:00 +09:00
vendored_fileutils.rb [bundler/bundler] No need to activate the fileutils default gem 2019-08-18 13:45:45 +09:00
vendored_molinillo.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
vendored_persistent.rb [bundler/bundler] Bump net-http-persistent to 3.0.1 2019-08-03 09:30:00 +09:00
vendored_thor.rb [bundler/bundler] Migrate two more requires to be relative 2019-08-03 09:29:55 +09:00
version.rb [bundler/bundler] Version 2.1.0.pre.2 2019-09-18 18:26:33 +09:00
version_ranges.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
vlad.rb Merge bundler master from upstream. 2019-06-09 12:44:10 +09:00
worker.rb Merge Bundler 2.1.0.pre.1 as developed version from upstream. 2019-04-14 06:01:35 +00:00
yaml_serializer.rb [bundler/bundler] Bump rubocop to 0.74.0 2019-08-03 09:30:00 +09:00