From: Jim Weirich Date: 2006-11-18T05:10:46+09:00 Subject: Re: When Rake goes "Ache!" Robert James wrote: > Jim Weirich wrote: >> end >> end > > Thanks - will try it out. Not all fails throw exceptions (right? it's > considered a fail if sh "false"), but I can always catch that and throw > an exception manually. If the "sh" command fails, it will throw an exception that terminates rake processing. So you shouldn't have a problem with that. change the fail line in the example to: sh "ruby -e 'exit(1)'" to try it. -- Jim Weirich -- Posted via http://www.ruby-forum.com/.