mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fixups + make the tests work
This commit is contained in:
parent
0ee4c3efa7
commit
738c2ad7bd
4 changed files with 25 additions and 27 deletions
|
|
@ -93,15 +93,14 @@ def install_environment(
|
|||
if version != 'default':
|
||||
_install_ruby(ruby_env, version)
|
||||
ruby_env.run(
|
||||
'cd {prefix} && gem build *.gemspec'
|
||||
' && gem install --no-ri --no-rdoc *.gem',
|
||||
'cd {prefix} && gem build *.gemspec && '
|
||||
'gem install --no-ri --no-rdoc *.gem',
|
||||
)
|
||||
if additional_dependencies:
|
||||
ruby_env.run(
|
||||
'cd {prefix} && gem install --no-document ' +
|
||||
'cd {prefix} && gem install --no-ri --no-rdoc ' +
|
||||
' '.join(
|
||||
shell_escape(dep) for dep in
|
||||
additional_dependencies
|
||||
shell_escape(dep) for dep in additional_dependencies
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue