mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use 1.9.3-p547 instead.
This commit is contained in:
parent
0f2e5f844f
commit
3213703a49
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ class RubyEnv(helpers.Environment):
|
|||
|
||||
def run(self, *args, **kwargs):
|
||||
# TODO: hardcoded version smell
|
||||
env = dict(os.environ, RBENV_VERSION='1.9.3-p545')
|
||||
env = dict(os.environ, RBENV_VERSION='1.9.3-p547')
|
||||
return super(RubyEnv, self).run(*args, env=env, **kwargs)
|
||||
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ def install_environment(repo_cmd_runner):
|
|||
_install_rbenv(repo_cmd_runner)
|
||||
with in_env(repo_cmd_runner) as ruby_env:
|
||||
# TODO: hardcoded version smell
|
||||
ruby_env.run('rbenv install 1.9.3-p545')
|
||||
ruby_env.run('rbenv install 1.9.3-p547')
|
||||
ruby_env.run(
|
||||
'cd {prefix} && gem build *.gemspec && gem install *.gem',
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue