Move require "bundler/setup“ to top of cask-tests.

This commit is contained in:
Markus Reiter 2017-01-26 18:28:08 +01:00
parent e65150412c
commit dd0bc83eca

View File

@ -1,4 +1,5 @@
require "English"
require "bundler/setup"
ENV["BUNDLE_GEMFILE"] = "#{HOMEBREW_LIBRARY_PATH}/cask/Gemfile"
ENV["BUNDLE_PATH"] = "#{HOMEBREW_LIBRARY_PATH}/vendor/bundle"
@ -21,8 +22,6 @@ repo_root.cd do
system "bundle", "install"
end
require "bundler/setup"
rspec = ARGV.flag?("--rspec") || !ARGV.flag?("--minitest")
minitest = ARGV.flag?("--minitest") || !ARGV.flag?("--rspec")