Not sure if this is a bug or a misunderstanding on my part. I seem to be getting inconsistent race-condition like behavior with the following setup:
Rakefile:
multitask :default => [:one, :two] do
end
task :two => :one do
puts "echo 'should not run?'"
end
task :one do
raise
end
I would expect to never see "should not run?", but I see it intermittently.
for i in {1..10}; do rake 2>/dev/null | grep 'should'; done
echo 'should not run?'
echo 'should not run?'