Skip to content

Commit

Permalink
[rubygems/rubygems] Fix error message calling method removed a long t…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and matzbot committed May 16, 2024
1 parent 7857061 commit 847fc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems/commands/uninstall_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def uninstall_gem(gem_name)
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 " \
Expand Down

0 comments on commit 847fc9a

Please sign in to comment.