mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #1603 from pre-commit/no_format_executable
Fix ruby hooks when --format-executable is in gemrc
This commit is contained in:
commit
3e2b9dc91a
1 changed files with 2 additions and 1 deletions
|
|
@ -134,7 +134,8 @@ def install_environment(
|
||||||
helpers.run_setup_cmd(
|
helpers.run_setup_cmd(
|
||||||
prefix,
|
prefix,
|
||||||
(
|
(
|
||||||
'gem', 'install', '--no-document',
|
'gem', 'install',
|
||||||
|
'--no-document', '--no-format-executable',
|
||||||
*prefix.star('.gem'), *additional_dependencies,
|
*prefix.star('.gem'), *additional_dependencies,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue