From f58f146074371c7ee5a9927ce94aa4f65ad338ef Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sun, 30 Dec 2018 10:45:52 -0700 Subject: [PATCH] Added Circle CI Bundler cache. Speeds up the builds by pulling from the Bundler cache (when Gemfile has not changed). --- circle.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/circle.yml b/circle.yml index 3e79b25..823b010 100644 --- a/circle.yml +++ b/circle.yml @@ -41,18 +41,18 @@ jobs: - ../ruby-$CI_RUBY_VERSION - type: cache-restore - name: Bundler Cache Restore - key: bundle-{{ checksum "Gemfile" }} + name: Bundler Restore + key: bundler-{{checksum "Gemfile"}} - run: name: Bundler Install command: | gem update --system - bundle check || bundle install + bundle install --path vendor/bundle - type: cache-save - name: Bundler Cache Store - key: bundle-{{ checksum "Gemfile" }} + name: Bundler Store + key: bundler-{{checksum "Gemfile"}} paths: - vendor/bundle