[rubygems/rubygems] Fix error message calling method removed a long time ago

https://github.com/rubygems/rubygems/commit/5fbe5e43d6
This commit is contained in:
David Rodriguez 2024-05-09 20:16:32 +02:00 committed by git
parent 7857061ecd
commit 847fc9af18

View File

@ -184,7 +184,7 @@ that is a dependency of an existing gem. You can use the
rescue Gem::GemNotInHomeException => e
spec = e.spec
alert("In order to remove #{spec.name}, please execute:\n" \
"\tgem uninstall #{spec.name} --install-dir=#{spec.installation_path}")
"\tgem uninstall #{spec.name} --install-dir=#{spec.base_dir}")
rescue Gem::UninstallError => e
spec = e.spec
alert_error("Error: unable to successfully uninstall '#{spec.name}' which is " \