Commit f958a5ac by Jocelyn Jaubert

Correctly handle option user_install in gem module

parent 4a3b762a
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment