mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
parent
bec069b0ca
commit
0eef33e113
Notes:
git
2023-03-23 08:19:23 +00:00
9 changed files with 89 additions and 103 deletions
|
@ -167,15 +167,14 @@ that is a dependency of an existing gem. You can use the
|
|||
gems_to_uninstall = {}
|
||||
|
||||
deps.each do |dep|
|
||||
unless gems_to_uninstall[dep.name]
|
||||
gems_to_uninstall[dep.name] = true
|
||||
next if gems_to_uninstall[dep.name]
|
||||
gems_to_uninstall[dep.name] = true
|
||||
|
||||
unless original_gem_version[dep.name] == Gem::Requirement.default
|
||||
options[:version] = dep.version
|
||||
end
|
||||
|
||||
uninstall_gem(dep.name)
|
||||
unless original_gem_version[dep.name] == Gem::Requirement.default
|
||||
options[:version] = dep.version
|
||||
end
|
||||
|
||||
uninstall_gem(dep.name)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue