diff --git a/README.rdoc b/README.rdoc index e0566ad..9576bbb 100644 --- a/README.rdoc +++ b/README.rdoc @@ -51,6 +51,18 @@ Not sure why this happens, but if you simply add a line to re-establish your dat ActiveRecord::Base.establish_connection # make sure that the db connection is ready. end +=== Couldn't find formatter class Spec::Runner::Formatter::TextMateFormatter Make sure the --require option is specified *before* --format + +On one of our projects, many of us using TextMate with spork, only one developer got this error message while the rest of us ran just fine. I don't know exactly why it happened, but requiring the textmate formatter in the prefork block made it go away, like this: + + Spork.prefork do + gem "rspec", "= 1.2.6" + require 'spec' + ... + require 'spec/runner/formatter/text_mate_formatter' + ... + end + == Kudos to * Ben Mabey - help with documentation, testing, suggestions.