Catch STDERR in ruby output and treat it as error