Simplify installing into virtualenv

This commit is contained in:
Anthony Sottile 2014-03-29 23:27:26 -07:00
parent 216b5c6ab1
commit 18249bec8a
3 changed files with 3 additions and 5 deletions

View file

@ -25,7 +25,7 @@ def install_environment(repo_cmd_runner):
repo_cmd_runner.run(['__rvm-env.sh', '{{prefix}}{0}'.format(RVM_ENV)])
with in_env(repo_cmd_runner) as env:
env.run('bundle install', cwd=repo_cmd_runner.prefix_dir)
env.run('cd {prefix} && bundle install')
def run_hook(repo_cmd_runner, hook, file_args):