Fixing Textmate Test Issues - `blank_slate_method_added': stack level too deep (SystemStackError)
If you are getting long, recursive stack traces like the following when trying to run a test/spec from within Textmate:
blank_slate_method_added': stack level too deep (SystemStackError)
The stack goes on for many more lines, and your tests always work normally outside of textmate. The issue is that textmate includes its own version of builder, which is conflicting with Rails' version of builder.
The solution is simple: rename Textmate's builder.rb to builder.rb.off, so it doesn't get loaded anymore. You can find Textmate's builder at "/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb". Problem solved. See also this support thread with some more detail.