File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -28,29 +28,29 @@ jobs:
28
28
# Reference: https://www.benpickles.com/articles/76-better-ruby-gem-caching-on-circleci
29
29
- restore_cache :
30
30
keys :
31
- - bundler-{{ checksum "Gemfile.lock" }}
31
+ - bundler-{{ checksum "Gemfile.lock" }}-v2
32
32
- bundler-
33
33
34
34
- run : bundle install --clean --path vendor/bundle
35
35
36
36
- save_cache :
37
- key : bundler-{{ checksum "Gemfile.lock" }}
37
+ key : bundler-{{ checksum "Gemfile.lock" }}-v2
38
38
paths :
39
39
- vendor/bundle
40
40
41
41
# Cache Dependencies
42
42
- type : cache-save
43
43
name : Store bundle cache
44
- key : tutor_virtual-{{ checksum "Gemfile.lock" }}
44
+ key : tutor_virtual-{{ checksum "Gemfile.lock" }}-v2
45
45
paths :
46
46
- vendor/bundle
47
47
48
- # # Bundle install dependencies
49
- - run : bundle install
50
-
51
48
# Wait for DB
52
49
- run : dockerize -wait tcp://localhost:5432 -timeout 1m
53
50
51
+ # # Bundle install dependencies
52
+ - run : bundle install
53
+
54
54
- run : rake db:create # creates the database
55
55
- run : rake db:migrate
56
56
You can’t perform that action at this time.
0 commit comments