Gitlab Runner not running scripts with Windows shell configuration
stages are required

stages:
  - stage1

stage1:
  stage: stage1
  script:
    - echo hello


Could you try the following:

before_script:
  - pushd . &amp;&amp; uru 233 &amp;&amp; popd &amp;&amp; set HOME=c:\ &amp;&amp; ruby -v &amp;&amp; bundle install

stages:
  - rspec
  - rubocop
  - flay

rspec:
  stage: rspec
  script:
    - bundle exec rspec

rubocop:
  stage: rubocop
  script:
    - bundle exec rubocop

flay:
  stage: flay
  script:
    - bundle exec flay *