Skip to content

Commit ef0a605

Browse files
committed
Add rake version
1 parent af33536 commit ef0a605

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.circleci/config.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,31 @@ jobs:
2828
# Reference: https://www.benpickles.com/articles/76-better-ruby-gem-caching-on-circleci
2929
- restore_cache:
3030
keys:
31-
- bundler-{{ checksum "Gemfile.lock" }}
31+
- bundler-{{ checksum "Gemfile.lock" }}-v2
3232
- bundler-
3333

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

3636
- save_cache:
37-
key: bundler-{{ checksum "Gemfile.lock" }}
37+
key: bundler-{{ checksum "Gemfile.lock" }}-v2
3838
paths:
3939
- vendor/bundle
4040

4141
# Cache Dependencies
4242
- type: cache-save
4343
name: Store bundle cache
44-
key: tutor_virtual-{{ checksum "Gemfile.lock" }}
44+
key: tutor_virtual-{{ checksum "Gemfile.lock" }}-v2
4545
paths:
4646
- vendor/bundle
4747

48-
# # Bundle install dependencies
49-
- run: bundle install
50-
5148
# Wait for DB
5249
- run: dockerize -wait tcp://localhost:5432 -timeout 1m
5350

54-
- run: rake db:create # creates the database
51+
# # Bundle install dependencies
52+
- run: bundle install
53+
- run: bundle update
54+
55+
- run: bundle exec rake db:create # creates the database
5556
- run: rake db:migrate
5657

5758
# Run the tests

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ gem 'jbuilder', '~> 2.5'
3636
# Use Capistrano for deployment
3737
# gem 'capistrano-rails', group: :development
3838

39-
gem 'rake', '~> 13.0.0'
40-
4139
# Reduces boot times through caching; required in config/boot.rb
4240
gem 'bootsnap', '>= 1.1.0', require: false
4341

Gemfile.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ DEPENDENCIES
214214
pg (>= 0.18, < 2.0)
215215
puma (~> 3.11)
216216
rails (~> 5.2.3)
217-
rake (~> 13.0.0)
218217
sass-rails (~> 5.0)
219218
selenium-webdriver
220219
spring

0 commit comments

Comments
 (0)