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

This commit is contained in:
Manuel Tiago Pereira 2014-01-30 00:09:28 +00:00
parent 82240d27e4
commit 75aaa3ca56

View file

@ -143,6 +143,7 @@ def uninstall(module):
cmd.extend([ '--version', module.params['version'] ])
else:
cmd.append('--all')
cmd.append('--executable')
cmd.append(module.params['name'])
module.run_command(cmd, check_rc=True)