Merge pull request #3942 from jocelynj/gem

Correctly handle option user_install in gem module
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit 789d08a85d

@ -157,7 +157,9 @@ def install(module):
else: else:
if major and major < 2: if major and major < 2:
cmd.append('--include-dependencies') 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-user-install')
cmd.append('--no-rdoc') cmd.append('--no-rdoc')
cmd.append('--no-ri') cmd.append('--no-ri')

Loading…
Cancel
Save