Skip to content

Commit

Permalink
added work around for strange TextMate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
timcharper committed May 21, 2009
1 parent d383013 commit 6156f13
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6156f13

Please sign in to comment.