This post originated from an RSS feed registered with Ruby Buzz
by David Heinemeier Hansson.
Original Post: Having problems running tests under 1.8.2?
Feed Title: Riding Rails
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: The knowledge diff for all things Rails
Unfortuntately, the snapshot of test/unit included in Ruby 1.8.2 is broken for use with Rake. Steps are being made to remedy the situation, but in the mean while, you can apply the fix needed to the Ruby source itself. It’s a two-line change, but pretty important two lines.
In order to apply this fix, you need to:
cd /usr/local/lib/ruby/1.8
(or where ever you have Ruby installed) and do:
patch -p0 < /path/to/fix/dir.rb.cleanup.patch
Hopefully a more permanent solution can be found in Rake or Ruby shortly.