Skip to content

Commit

Permalink
Specify full path to vendor/bundle
Browse files Browse the repository at this point in the history
When relative path specified, it will be calculated from the path of the Gemfile, which is "gemfiles/*" with Appraisal. This breaks caching logic in CircleCI
  • Loading branch information
kpumuk committed Dec 3, 2022
1 parent c1bc63b commit 6d21553
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ shared_build_steps: &shared_build_steps
- run:
name: Installing Dependencies
command: |
bundle config set --local path vendor/bundle
bundle config set --local path "${PWD}/vendor/bundle"
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
- save_cache:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ shared_build_steps: &shared_build_steps
- run:
name: Installing Dependencies
command: |
bundle config set --local path vendor/bundle
bundle config set --local path "${PWD}/vendor/bundle"
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)

- save_cache:
Expand Down

0 comments on commit 6d21553

Please sign in to comment.