1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 34db2d17e3
commit e563f847ec

View file

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