Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force gem installation into GEM_HOME #2384

Merged
merged 1 commit into from
May 7, 2022

Conversation

narpfel
Copy link
Contributor

@narpfel narpfel commented May 7, 2022

When --user-install is set in the gemrc config file, gem ignores
GEM_HOME. --no-user-install prevents this behaviour.

Resolves #2383

When `--user-install` is set in the gemrc config file, `gem` ignores
`GEM_HOME`. `--no-user-install` prevents this behaviour.
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! and thanks for the test as well :D

@asottile asottile merged commit fd78116 into pre-commit:main May 7, 2022
@narpfel narpfel deleted the gem-no-user-install branch May 8, 2022 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Ruby hooks cannot be installed when gem is globally configured with --user-install
2 participants