Better Ruby Gem caching on CircleCI

steps:
- restore_cache:
keys:
- bundler-{{ checksum "Gemfile.lock" }}
- bundler-
No cache is found for key: bundler-7cHA+e+3dMj5o8KeEXzZWm_pWslivYO08S8xulWZ4gw=
Found a cache from build 513 at bundler-
Size: 66 MB
Cached paths:
* /home/circleci/app/vendor/bundle
- restore_cache:
keys:
- bundler-{{ checksum "Gemfile.lock" }}
- bundler-

- run: bundle install --clean --path vendor/bundle

- save_cache:
key: bundler-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle

--

--

--

Listener of Zappa • writer of Ruby and JavaScript • creator of https://github.com/benpickles/peity • leader of thought

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ben Pickles

Ben Pickles

Listener of Zappa • writer of Ruby and JavaScript • creator of https://github.com/benpickles/peity • leader of thought

More from Medium

Rails CRUD

Manage Bundler indirect dependencies versions

Everything is “Enumerable” in Ruby

What is JWT?