title: Autotest, RSpec 2 and Ruby 1.9.2-p0 - no output at all
body: <p>I have started the book <em>Continuous Testing with Ruby</em> (B2.0 printing), but am running into immediate problems. Per the first chapter, I have created an empty Gem using Jeweler 1.5.1</p>
  
  <pre>$ jeweler --rspec twits</pre>
  
  <p>Running the specs manually with rake gives the correct failing output</p>
  
  <pre>
  $ rake spec
  (in /Users/mfurtak/Documents/Programming/Ruby/twits)
  /Users/mfurtak/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -S bundle exec rspec "spec/twits_spec.rb"
  F
  
  Failures:
    1) Twits fails
       Failure/Error: fail "Trying to get this working"
       Trying to get this working
       # ./spec/twits_spec.rb:5:in `block (2 levels) in '
  
  Finished in 0.00176 seconds
  1 example, 1 failure
  rake aborted!
  </pre>
  
  <p>To get Autotest configured for RSpec 2, I have created <strong>./autotest/discover.rb</strong> in the root of my project as described in the book and <a href="http://blog.davidchelimsky.net/2010/03/15/rspec-2-and-autotest/" rel="nofollow">elsewhere</a> with the following contents:</p>
  
  <pre><code>Autotest.add_discovery { "rspec2" }
  </code></pre>
  
  <p>But when I attempt to run the RSpec (2.2.0) specs through autotest (ZenTest 4.4.0), I get no output at all.</p>
  
  <pre>$ autotest</pre>
  
  <p>This is all using Ruby 1.9.2-p0 through RVM (1.0.2). If I switch to Ruby 1.8.7-p302, things work as expected.</p>
  
  <pre>
  $ autotest
  loading autotest/rspec2
  bundle exec /Users/mfurtak/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -S /Users/mfurtak/.rvm/gems/ruby-1.8.7-p302/gems/rspec-core-2.2.1/bin/rspec --tty '/Users/mfurtak/Documents/Programming/Ruby/twits/spec/twits_spec.rb'
  F
  
  Failures:
  
    1) Twits fails
       Failure/Error: fail "Trying to get this working"
       Trying to get this working
       # ./spec/twits_spec.rb:5
  
  Finished in 0.00036 seconds
  1 example, 1 failure
  </pre>