diff options
author | Homu <homu@barosl.com> | 2015-12-26 18:46:11 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2015-12-26 18:46:11 +0900 |
commit | e2b14375c3ed2ef679fed1ca894dd346cbcefcf1 (patch) | |
tree | 9a180c931892cf94d11011aab7acbc07b3bb63a7 /lib/bundler/errors.rb | |
parent | d678a1a3cd00935377b97716554df1f51a9f5994 (diff) | |
parent | d70de62bd2dd6a375c65b21a749ecf3a0050947e (diff) | |
download | bundler-e2b14375c3ed2ef679fed1ca894dd346cbcefcf1.tar.gz |
Auto merge of #4185 - dthjones:fix-default-test-task, r=indirect
Ensure `bundle gem` default task matches framework
Previously running `bundle gem` with a global config containing
BUNDLE_GEM__TEST: 'minitest'
would incorrectly set the default task in the generated Rakefile to
task :default => :spec
whereas `bundle gem --test=minitest` worked as expected. This happened because the test task was determined before checking the global config or asking for user input, making the test task and default task inconsistent.
This fix moves the decision to after the test framework has been properly determined.
Diffstat (limited to 'lib/bundler/errors.rb')
0 files changed, 0 insertions, 0 deletions