Guest User

Untitled

a guest
Jan 3rd, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. diff --git a/.circleci/config.yml b/.circleci/config.yml
  2. index 37e192c..d639500 100644
  3. --- a/.circleci/config.yml
  4. +++ b/.circleci/config.yml
  5. @@ -15,6 +15,7 @@ jobs:
  6. ENABLE_REVIEW_APPS: true
  7. BASIC_AUTH_USER: user
  8. BASIC_AUTH_PASSWORD: password
  9. + BUNDLER_VERSION: 2.0.0
  10. - image: circleci/postgres:11-alpine # 11
  11. environment:
  12. POSTGRES_USER: db-user
  13. @@ -24,8 +25,8 @@ jobs:
  14. - checkout # magic
  15.  
  16. - run:
  17. - name: Which bundler?
  18. - command: bundle -v
  19. + name: install bundler
  20. + command: gem install bundler --version $BUNDLER_VERSION
  21.  
  22. # Restore bundle cache
  23. - restore_cache:
  24. @@ -48,7 +49,7 @@ jobs:
  25.  
  26. - run:
  27. name: Database setup
  28. - command: bin/rails db:schema:load --trace
  29. + command: bundle exec bin/rails db:schema:load --trace
  30.  
  31. # Create test results directory
  32. - run:
  33. diff --git a/Gemfile.lock b/Gemfile.lock
  34. index f9da86e..592b646 100644
  35. --- a/Gemfile.lock
  36. +++ b/Gemfile.lock
  37. @@ -402,4 +402,4 @@ RUBY VERSION
  38. ruby 2.6.0p-1
  39.  
  40. BUNDLED WITH
  41. - 1.17.2
  42. + 2.0.0
Add Comment
Please, Sign In to add comment