Force gem installation into GEM_HOME

When `--user-install` is set in the gemrc config file, `gem` ignores
`GEM_HOME`. `--no-user-install` prevents this behaviour.
This commit is contained in:
Paul Gey
2022-05-07 20:44:02 +02:00
parent cc9d950601
commit a54391e96f
2 changed files with 8 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ def install_environment(
(
'gem', 'install',
'--no-document', '--no-format-executable',
'--no-user-install',
*prefix.star('.gem'), *additional_dependencies,
),
)