Use BUNDLE_DIR to define bundler's directory

This commit is contained in:
Saivann 2015-07-04 16:09:57 -04:00
parent 15c0c2626e
commit 4e409097da
No known key found for this signature in database
GPG key ID: 5780F5D31B5577B0
2 changed files with 8 additions and 1 deletions

View file

@ -45,7 +45,11 @@ install-deps-development:
## Install dependencies (deployment version)
install-deps-deployment:
ifdef BUNDLE_DIR
bundle install --deployment --without :slow_test --path=$(BUNDLE_DIR)
else
bundle install --deployment --without :slow_test
endif
## Pre-build tests which, aggregated together, take less than 10 seconds to run on a typical PC
pre-build-tests-fast: check-for-non-ascii-urls check-for-wrong-filename-assignments \