Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problem when downgrading rubygems
Take the following scenario: * You have a rubygems version with the new plugins system. * You run `gem install yard`, so that `<gem_home>/plugins/yard_plugin.rb` is generared. * You downgrade rubygems to a version with the old plugin system, say, 3.1.2. * You uninstall yard. * You upgrade rubygems again. In this case, the final upgrade will fail because rubygems will try to require a `yard` rubygems plugin to points to a file that does not exist because the `yard` gem is not installed. This change fixes that problem.
- Loading branch information