Skip to content

Commit c95ef03

Browse files
committed
Set bundle path on CI
This commit tells Circle CI where to install bundle using an environment variable. Using the `--path` flag is deprecated on Circle CI.
1 parent a7146de commit c95ef03

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ jobs:
44
build:
55
docker:
66
- image: circleci/ruby:2.7.0
7+
environment:
8+
BUNDLE_PATH: vendor/bundle
79

810
steps:
911
- checkout
@@ -14,7 +16,7 @@ jobs:
1416

1517
- run:
1618
name: Install Ruby dependencies
17-
command: bundle install --path vendor/bundle
19+
command: bundle install
1820

1921
- save_cache:
2022
key: bitters-{{ arch }}-{{ checksum "bitters.gemspec" }}

0 commit comments

Comments
 (0)