1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rubygems/resolver
David Rodríguez ee5e684bc1 [rubygems/rubygems] Fix gem install <non-existent-gem> --force crash
Before:

```
$ gem install sfdsfdsfsdide --force
ERROR:  While executing gem ... (NoMethodError)
    undefined method `spec' for nil:NilClass

    @always_install << newest.spec
                             ^^^^^
```

After:

```
$ gem install sfdsfdsfsdide --force
ERROR:  Could not find a valid gem 'sfdsfdsfsdide' (>= 0) in any repository
```

https://github.com/rubygems/rubygems/commit/4e2bfd1101
2022-01-06 23:52:48 +09:00
..
api_set
molinillo/lib [rubygems/rubygems] Vendor tsort into rubygems 2021-10-29 18:00:46 +09:00
activation_request.rb
api_set.rb
api_specification.rb
best_set.rb
composed_set.rb
conflict.rb
current_set.rb
dependency_request.rb
git_set.rb
git_specification.rb [rubygems/rubygems] Prefer require_relative to require for internal requires 2021-08-31 19:06:14 +09:00
index_set.rb
index_specification.rb
installed_specification.rb
installer_set.rb [rubygems/rubygems] Fix gem install <non-existent-gem> --force crash 2022-01-06 23:52:48 +09:00
local_specification.rb
lock_set.rb
lock_specification.rb
molinillo.rb [rubygems/rubygems] Prefer require_relative to require for internal requires 2021-08-31 19:06:14 +09:00
requirement_list.rb
set.rb [rubygems/rubygems] Avoid loading URI unnecessarily when activating gems 2021-09-22 10:13:34 +09:00
source_set.rb
spec_specification.rb
specification.rb [rubygems/rubygems] Prefer require_relative to require for internal requires 2021-08-31 19:06:14 +09:00
stats.rb
vendor_set.rb
vendor_specification.rb