From 8b5d2aeef98aa80169b9b3e55c323595ec7440e9 Mon Sep 17 00:00:00 2001 From: Jocelyn Jaubert Date: Sat, 24 Aug 2013 22:48:58 +0200 Subject: [PATCH] Correctly handle option user_install in gem module --- packaging/gem | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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')