before_script:
  - ruby -v
  - which ruby
  - gem install bundler --no-ri --no-rdoc
  - bundle install --jobs $(nproc)  "${FLAGS[@]}"

rspec:
  script:
    - bundle exec rake test

rubocop:
  script:
    - bundle exec rake rubocop

---
before_script:
  - ruby -v
  - which ruby
  - gem install bundler --no-document
  - bundle install --jobs $(nproc)  "${FLAGS[@]}"

rspec:
  script:
    - bundle exec rake test

rubocop:
  script:
    - bundle exec rake rubocop

Update gitlab ci gem install does not have --no-ri anymore
Update gitlab ci gem install does not have --no-ri anymore

ERROR:  While executing gem ... (OptionParser::InvalidOption)

    invalid option: --no-ri
