box: ruby:2.5.7
services:
  - id: mongo:3.6.2
build:
    steps:
        - bundle-install
        - script:
            name: echo ruby information
            code: |
                echo "ruby version $(ruby --version) running"
                echo "from location $(which ruby)"
                echo -p "gem list: $(gem list)"
        - script:
            name: rspec
            code: bundle exec rake spec
    after-steps:
        - mzp/http-notify:
            url: $DASHBOZU_URL
deploy:
  steps:
    - heroku-deploy:
        key: $HEROKU_KEY
        user: $HEROKU_USER
        app-name: $HEROKU_APP_NAME


box: ruby:2.5.7
services:
  - id: mongo:3.6.2
build:
    steps:
        - script:
            name: update bundler
            code: |
                sudo gem install bundler
        - bundle-install
        - script:
            name: echo ruby information
            code: |
                echo "ruby version $(ruby --version) running"
                echo "from location $(which ruby)"
                echo -p "gem list: $(gem list)"
        - script:
            name: rspec
            code: bundle exec rake spec
    after-steps:
        - mzp/http-notify:
            url: $DASHBOZU_URL
deploy:
  steps:
    - heroku-deploy:
        key: $HEROKU_KEY
        user: $HEROKU_USER
        app-name: $HEROKU_APP_NAME


Use bundler 2.0 at werker
Use bundler 2.0 at werker
