We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89486b commit b44461dCopy full SHA for b44461d
pre_commit/languages/ruby.py
@@ -9,6 +9,7 @@
9
import pre_commit.constants as C
10
from pre_commit.envcontext import envcontext
11
from pre_commit.envcontext import PatchesT
12
+from pre_commit.envcontext import UNSET
13
from pre_commit.envcontext import Var
14
from pre_commit.hook import Hook
15
from pre_commit.languages import helpers
@@ -28,6 +29,7 @@ def get_env_patch(
28
29
) -> PatchesT: # pragma: win32 no cover
30
patches: PatchesT = (
31
('GEM_HOME', os.path.join(venv, 'gems')),
32
+ ('GEM_PATH', UNSET),
33
('RBENV_ROOT', venv),
34
('BUNDLE_IGNORE_CONFIG', '1'),
35
(
0 commit comments