Move require "bundler/setup“ to top of cask-tests.
This commit is contained in:
parent
e65150412c
commit
dd0bc83eca
@ -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")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user