Skip to content

Commit

Permalink
Fix bin/test
Browse files Browse the repository at this point in the history
This was failing when other files also required `bundler/setup` because
bundler were being setup twice.
  • Loading branch information
rafaelfranca committed Oct 30, 2020
1 parent 36fe7b8 commit 82ab903
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 82ab903

Please sign in to comment.