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

pull/5827/head
Manuel Tiago Pereira 11 years ago
parent 34db2d17e3
commit e563f847ec

@ -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)

Loading…
Cancel
Save