From 153aee148b2821d15d4a9cddf6a0118bef81d62c Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Mon, 21 May 2018 15:27:45 +0900 Subject: [PATCH] Run bin/setup instead of bundler Signed-off-by: Kenji Okimoto --- .travis.yml | 2 +- bin/setup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a3f699b..a568be0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ install: - bundle -v - gem i bundler - sudo sh -c 'curl -L https://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | sh' - - bundle install --jobs=4 --retry=4 + - bin/setup diff --git a/bin/setup b/bin/setup index 18de820..834bea0 100755 --- a/bin/setup +++ b/bin/setup @@ -15,7 +15,7 @@ chdir APP_ROOT do puts '== Installing dependencies ==' system! 'gem install bundler --conservative' - system('bundle check') || system!('bundle install') + system('bundle check') || system!('bundle install --jobs=4 --retry=4') # Install JavaScript dependencies if using Yarn system('bin/yarn')