diff --git a/packaging/gem b/packaging/gem index 889f5101688..762bf576d50 100644 --- a/packaging/gem +++ b/packaging/gem @@ -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')