steps:

- label: run-lint-and-specs-ruby-2.4
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-stretch

- label: run-lint-and-specs-ruby-2.5
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-stretch

- label: run-lint-and-specs-ruby-2.6
  command:
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-stretch

steps:

- label: run-lint-and-specs-ruby-2.4
  command:
    - bundle config set --local without docs debug
    - bundle install --jobs=7 --retry=3
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.4-stretch

- label: run-lint-and-specs-ruby-2.5
  command:
    - bundle config set --local without docs debug
    - bundle install --jobs=7 --retry=3
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.5-stretch

- label: run-lint-and-specs-ruby-2.6
  command:
    - bundle config set --local without docs debug
    - bundle install --jobs=7 --retry=3
    - bundle exec rake
  expeditor:
    executor:
      docker:
        image: ruby:2.6-stretch

Replace deprecated --without flag with bundle config
Replace deprecated --without flag with bundle config

Signed-off-by: Swati Keshari <c680b5d9955c46c8dad4ecc06b5bea9588d924c3@msystechnologies.com>

fix failure

Signed-off-by: Swati Keshari <c680b5d9955c46c8dad4ecc06b5bea9588d924c3@msystechnologies.com>

adding --local

Signed-off-by: Swati Keshari <c680b5d9955c46c8dad4ecc06b5bea9588d924c3@msystechnologies.com>
