
I found a nice article recently which lets you remove the batch files from Ruby when running on Windows, so you don’t get those annoying, redundant cmd messages “Terminate Batch Job (y/n)” whenever you press ctrl-c within Ruby. My version (1.8.6) exits cleanly now – thanks Ruby Rambler!
http://rubyrambler.blogspot.com/2007/10/terminate-batch-job-yn-y.html
My specific steps for fixing Rake are:
- rename “rake.bat” to “rake.bat.orig” (or whatever)
- rename “rake” to “rake.rb”