Skip to content

Commit 840cf53

Browse files
authored
Merge pull request #2727 from pre-commit/ignore-gemfile
also ignore Gemfile in project
2 parents dd8e717 + f4bd449 commit 840cf53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pre_commit/languages/ruby.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def get_env_patch(
3939
('GEM_HOME', os.path.join(venv, 'gems')),
4040
('GEM_PATH', UNSET),
4141
('BUNDLE_IGNORE_CONFIG', '1'),
42+
('BUNDLE_GEMFILE', os.devnull),
4243
)
4344
if language_version == 'system':
4445
patches += (

0 commit comments

Comments
 (0)