Skip to content

Commit

Permalink
Added some logic to handle older bundler versions and changed the red…
Browse files Browse the repository at this point in the history
…is_url
  • Loading branch information
crimson-knight committed Oct 17, 2023
1 parent f4c9598 commit 61185fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executors:
docker:
- image: ruby:<< parameters.version >>
environment:
REDIS_URL: redis://redis:6379
REDIS_URL: redis://127.0.0.1:6379
- image: cimg/redis:6.2
working_directory: ~/fruit_juice

Expand All @@ -22,6 +22,13 @@ jobs:
type: string
steps:
- checkout
# Delete the Gemfile.lock for the older out of date ruby versions
- run:
name: Conditionally remove Gemfile.lock
command: |
if [[ "<< parameters.ruby-version >>" < "2.6" ]]; then
rm Gemfile.lock
fi
- run:
name: Bundle install
command: bundle install
Expand Down

0 comments on commit 61185fa

Please sign in to comment.