Avoid running bundler on tests that don't need it
Merge pull request #10070 from rubys/skip_bundle_in_railties_tests

Avoid running bundler on tests that don't need it