[rspec-users] Issues with 0.7.5

s.ross cwdinfo at gmail.com
Mon Dec 25 15:37:47 EST 2006


I installed 0.7.5 and the corresponding Rails plugin. Now it seems  
that the rake command is:

rake spec:autotest

I immediately ran into several problems:

1. rspec_autotest.rb line 30 has curly quotes and makes Ruby choke
2. Same line, rails_spec is spelled solid, when it should have the  
underscore

But fixing these didn't get me back going. Now I have to have a  
rails_spec_server running in one console window (is this recommended  
practice?) and rake spec:autotest gives me:

(druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/gems/ 
rspec-0.7.5/lib/spec/runner/command_line.rb:23:in `run': File or  
directory not found: –diff (RuntimeError)
         from (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/ 
gems/rspec-0.7.5/lib/spec/runner/command_line.rb:15:in `each'
         from (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/ 
gems/rspec-0.7.5/lib/spec/runner/command_line.rb:15:in `run'
         from (druby://localhost:8989) script/rails_spec_server:16:in  
`run'
         from script/rails_spec:8

The whole setup was working perfectly under 0.7.4 but I can't even  
get through a single spec pass on 0.7.5. Any hints are appreciated.

Thanks,

Steve


More information about the rspec-users mailing list