Fixing Ruby Rake on Windows

Posted by science on March 25, 2009

slash circle
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:

  1. rename “rake.bat” to “rake.bat.orig” (or whatever)
  2. rename “rake” to “rake.rb”
Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

Comments