Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d89486b + b44461d commit 46f5cc9Copy full SHA for 46f5cc9
1 file changed
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