Spinach failures: rack-test requires a rack application, but none was given
Not positive, but since !10337 (merged) I have started to seeing many of these failures (e.g. in https://gitlab.com/gitlab-org/gitlab-ce/builds/13444145):
bundler: failed to load command: spinach (/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/bin/spinach)
ArgumentError: rack-test requires a rack application, but none was given
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/capybara-2.6.2/lib/capybara/rack_test/driver.rb:16:in `initialize'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/capybara-2.6.2/lib/capybara.rb:418:in `new'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/capybara-2.6.2/lib/capybara.rb:418:in `block in <top (required)>'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/capybara-2.6.2/lib/capybara/session.rb:84:in `driver'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/capybara-2.6.2/lib/capybara/session.rb:232:in `visit'
/builds/gitlab-org/gitlab-ce/spec/support/test_env.rb:176:in `eager_load_driver_server'
/builds/gitlab-org/gitlab-ce/features/support/capybara.rb:28:in `block in <top (required)>'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:97:in `block in run_hook'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:97:in `each'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:97:in `run_hook'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:28:in `block in hook'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner.rb:68:in `run'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/cli.rb:27:in `run'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/gems/spinach-0.8.10/bin/spinach:15:in `<top (required)>'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/bin/spinach:22:in `load'
/builds/gitlab-org/gitlab-ce/vendor/ruby/2.3.0/bin/spinach:22:in `<top (required)>'
Retrying 2...
Retrying 1...
/cc: @rymai