Skip to content

Commit

Permalink
Merge pull request #2727 from pre-commit/ignore-gemfile
Browse files Browse the repository at this point in the history
also ignore Gemfile in project
  • Loading branch information
asottile committed Jan 28, 2023
2 parents dd8e717 + f4bd449 commit 840cf53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pre_commit/languages/ruby.py
Expand Up @@ -39,6 +39,7 @@ def get_env_patch(
('GEM_HOME', os.path.join(venv, 'gems')),
('GEM_PATH', UNSET),
('BUNDLE_IGNORE_CONFIG', '1'),
('BUNDLE_GEMFILE', os.devnull),
)
if language_version == 'system':
patches += (
Expand Down

0 comments on commit 840cf53

Please sign in to comment.