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

Merge pull request #3942 from jocelynj/gem

Correctly handle option user_install in gem module
This commit is contained in:
Michael DeHaan 2013-08-27 06:00:06 -07:00
commit 8ec806905d

View file

@ -157,7 +157,9 @@ def install(module):
else:
if major and major < 2:
cmd.append('--include-dependencies')
if not module.params['user_install']:
if module.params['user_install']:
cmd.append('--user-install')
else:
cmd.append('--no-user-install')
cmd.append('--no-rdoc')
cmd.append('--no-ri')