Skip to content

Commit

Permalink
Make circleci use bundler from gemlock file
Browse files Browse the repository at this point in the history
  • Loading branch information
Colt Borg committed Sep 15, 2021
1 parent 96e1d2f commit 207c37b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
command: |
curl -sSL "https://nodejs.org/dist/v14.15.0/node-v14.15.0-linux-x64.tar.xz" | sudo tar --strip-components=2 -xJ -C /usr/local/bin/ node-v14.15.0-linux-x64/bin/node
curl https://www.npmjs.com/install.sh | sudo bash
- run:
name: "Configure Bundler"
command: |
echo 'export BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")' >> $BASH_ENV
source $BASH_ENV
gem install bundler
- restore_cache:
keys:
- v1-bundler-{{ checksum "Gemfile.lock" }}
Expand Down

0 comments on commit 207c37b

Please sign in to comment.