tasks/bacon.rake in mailit-2010.06.03 vs tasks/bacon.rake in mailit-2011.01.27
- old
+ new
@@ -21,10 +21,10 @@
spec_format = "%d specifications (%d requirements), %d failures, %d errors"
specs.each_with_index do |spec, idx|
print(left_format % [idx + 1, specs_size, spec])
- Open3.popen3(RUBY, spec) do |sin, sout, serr|
+ Open3.popen3(RUBY, File.join(File.dirname(__FILE__), '..', spec)) do |sin, sout, serr|
out = sout.read.strip
err = serr.read.strip
# this is conventional, see spec/innate/state/fiber.rb for usage
if out =~ /^Bacon::Error: (needed .*)/