mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Adding "--no-document" argument to "gem install" command for ruby-based hooks to fix issue with Cygwin
This commit is contained in:
parent
a578afb310
commit
b0791a22bd
1 changed files with 2 additions and 1 deletions
|
|
@ -88,7 +88,8 @@ def install_environment(repo_cmd_runner, version='default'):
|
||||||
if version != 'default':
|
if version != 'default':
|
||||||
_install_ruby(ruby_env, version)
|
_install_ruby(ruby_env, version)
|
||||||
ruby_env.run(
|
ruby_env.run(
|
||||||
'cd {prefix} && gem build *.gemspec && gem install *.gem',
|
'cd {prefix} && gem build *.gemspec'
|
||||||
|
' && gem install --no-document *.gem',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue