Adding "--no-document" argument to "gem install" command for ruby-based hooks to fix issue with Cygwin

This commit is contained in:
Lucas Cimon
2015-08-13 15:27:41 +02:00
parent a578afb310
commit b0791a22bd

View File

@@ -88,7 +88,8 @@ def install_environment(repo_cmd_runner, version='default'):
if version != 'default':
_install_ruby(ruby_env, version)
ruby_env.run(
'cd {prefix} && gem build *.gemspec && gem install *.gem',
'cd {prefix} && gem build *.gemspec'
' && gem install --no-document *.gem',
)