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?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to