Intermittent "Factory not registered"error with Textmate 2
===

Intermittently, when running a test file directly with Command-R in Textmate 2, I get:

<pre>
Run options: --seed 19475

# Running tests:

EEE.EEEEEEEEE 

Finished tests in 0.007291s, 1783.0202 tests/s, 137.1554 assertions/s.

  1) Error:
test_0001_is valid with required parameters(Resource):
ArgumentError: Factory not registered: resource
method find in registry.rb at line 24
method method_missing in decorator.rb at line 10
method factory_by_name in factory_girl.rb at line 69
method run in factory_runner.rb at line 12
method block in define_singular_strategy_method in strategy_syntax_method_registrar.rb at line 19
method block (2 levels) in <main> in resource_test.rb at line 6
</pre>

My `guard` tests run fine, consistently.

Here is my `minitest.rb`:

<pre>
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require "minitest/autorun"
require "minitest/rails"
FactoryGirl.find_definitions
</pre>

My `.tm_properties` file includes:
<pre>
TM_RUBY = "$HOME/.rbenv/shims/ruby"
PATH = "$HOME/.rbenv/bin:$PATH"
</pre>

Often, quitting and restarting TM2 "solves" the problem. Any ideas? What might TM2 be doing differently than other runners?
