[rspec-users] Problems running RSpec 2 with autotest/autospec

David Chelimsky dchelimsky at gmail.com
Sat Jun 5 16:00:51 EDT 2010


On Jun 5, 2010, at 3:53 PM, Kristian Mandrup wrote:

> It seems there is no bin/autospec with RSpec 2. So I got it running
> simply with $ autotest
> 
> Been looking at instructions here http://wiki.github.com/dchelimsky/rspec/autotest-integration
> 
> And here http://ph7spot.com/musings/getting-started-with-autotest
> 
> But...
> 
> $ RSPEC=true autotest

Don't use RSPEC=true for rspec-2.

Also, probably need to set AUTOFEATURE=false.

> loading autotest/cucumber_rspec
> Error loading Autotest style autotest/cucumber_rspec (no such file to
> load -- autotest/rspec). Aborting.
> 
> What do I do here? I want to run it in "only rspec" mode for the time
> being.
> Also if I try to add the "redgreen" plugin

You don't need this with rspec because rspec does it's own colorizing.

HTH,
David

> 
> # /.autotest
> require "autotest/restart"
> 
> $ autotest
> loading autotest/cucumber
> style: Cucumber
> /Users/kristianconsult/.rvm/gems/ruby-1.9.2-head/gems/redgreen-1.2.2/
> lib/redgreen/autotest.rb:6:in `<top (required)>': uninitialized
> constant Object::PLATFORM (NameError)
> 
> Couldn't find anything on the net related to this error. A ruby 1.9.2
> issue?


More information about the rspec-users mailing list