mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 17:14:43 +04:00
Ignore bundle config files when running ruby hooks
This commit is contained in:
parent
260f981ae8
commit
8f057b0b1b
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ def get_env_patch(venv, language_version): # pragma: windows no cover
|
||||||
patches = (
|
patches = (
|
||||||
('GEM_HOME', os.path.join(venv, 'gems')),
|
('GEM_HOME', os.path.join(venv, 'gems')),
|
||||||
('RBENV_ROOT', venv),
|
('RBENV_ROOT', venv),
|
||||||
|
('BUNDLE_IGNORE_CONFIG', '1'),
|
||||||
('PATH', (
|
('PATH', (
|
||||||
os.path.join(venv, 'gems', 'bin'), os.pathsep,
|
os.path.join(venv, 'gems', 'bin'), os.pathsep,
|
||||||
os.path.join(venv, 'shims'), os.pathsep,
|
os.path.join(venv, 'shims'), os.pathsep,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue