Commit e563f847 by Manuel Tiago Pereira

Fixes #5819: Added --executables to gem uninstall command.

parent 34db2d17
...@@ -143,6 +143,7 @@ def uninstall(module): ...@@ -143,6 +143,7 @@ def uninstall(module):
cmd.extend([ '--version', module.params['version'] ]) cmd.extend([ '--version', module.params['version'] ])
else: else:
cmd.append('--all') cmd.append('--all')
cmd.append('--executable')
cmd.append(module.params['name']) cmd.append(module.params['name'])
module.run_command(cmd, check_rc=True) module.run_command(cmd, check_rc=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment