diff --git a/spec/support/integration_helper.rb b/spec/support/integration_helper.rb index 1ac12d5..c790c2d 100644 --- a/spec/support/integration_helper.rb +++ b/spec/support/integration_helper.rb @@ -3,7 +3,8 @@ module IntegrationHelper def launch_server(env: {}) Bundler.with_unbundled_env do - system("gem build -o rage-local.gem && gem install rage-local.gem --no-document && bundle install") + system("gem build -o rage-local.gem && gem install rage-local.gem --no-document") + system("bundle install", chdir: "spec/integration/test_app") @pid = spawn(env, "bundle exec rage s", chdir: "spec/integration/test_app") sleep(1) end