Skip to content

Commit e216165

Browse files
committed
[build] full lib path + roll wout bundler/setup
1 parent 98caafd commit e216165

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Rakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ namespace :integration do
4949
unless File.exist?(File.join(it_path, 'Gemfile.lock'))
5050
raise "bundle not installed, run `rake integration:install'"
5151
end
52-
loader = "ARGV.each { |f| require f }" ; lib = [ 'lib', it_path ]
52+
loader = "ARGV.each { |f| require f }"
53+
lib = [ File.expand_path('../lib', __FILE__), it_path ]
5354
test_files = FileList['src/test/integration/*_test.rb'].map { |path| path.sub('src/test/integration/', '') }
54-
ruby "-I#{lib.join(':')} -C src/test/integration -rbundler/setup -e \"#{loader}\" #{test_files.map { |f| "\"#{f}\"" }.join(' ')}"
55+
ruby "-I#{lib.join(':')} -C src/test/integration -e \"#{loader}\" #{test_files.map { |f| "\"#{f}\"" }.join(' ')}"
5556
end
5657
end

0 commit comments

Comments
 (0)