1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix bin/test

This was failing when other files also required `bundler/setup` because
bundler were being setup twice.
This commit is contained in:
Rafael Mendonça França 2020-10-30 21:33:19 +00:00
parent 36fe7b8d8f
commit 82ab903653
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -2,8 +2,7 @@
$: << File.expand_path("test", COMPONENT_ROOT)
require "bundler"
Bundler.setup
require "bundler/setup"
require "rails/test_unit/runner"
require "rails/test_unit/reporter"