Skip to content

Commit f4bd449

Browse files
committed
also ignore Gemfile in project
this starts failing with ruby 3.2.0
1 parent dd8e717 commit f4bd449

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)