[rspec-devel] [ rspec-Bugs-13015 ] autotest gives failure in 'spec_command' after upgrade 1.0.5 to 1.0.6
noreply at rubyforge.org
noreply at rubyforge.org
Sun Aug 12 10:52:23 EDT 2007
Bugs item #13015, was opened at 2007-08-12 14:14
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=13015&group_id=797
Category: Autotest
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: David Salgado (digitalronin)
>Assigned to: David Chelimsky (dchelimsky)
Summary: autotest gives failure in 'spec_command' after upgrade 1.0.5 to 1.0.6
Initial Comment:
After upgrading to 1.0.6, installed as a plugin with rails 1.2.2 (frozen into vendor/rails), the 'autotest' command results in the following error
loading autotest/rails_rspec
./vendor/plugins/rspec/lib/autotest/rspec.rb:80:in `spec_command': No spec command could be found! (RspecCommandError)
from ./vendor/plugins/rspec/lib/autotest/rspec.rb:10:in `initialize'
from ./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:31:in `initialize'
from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/autotest.rb:123:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/autotest.rb:123:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/bin/autotest:48
from /opt/local/bin/autotest:16:in `load'
from /opt/local/bin/autotest:16
I can make this error go away by doing the following in my rails project;
$ mkdir bin
$ touch bin/spec
After that, everything works fine.
Thank you for releasing rspec, BTW - I love it!
David
----------------------------------------------------------------------
>Comment By: David Chelimsky (dchelimsky)
Date: 2007-08-12 14:52
Message:
Bummer. It works fine as long as you also have an rspec gem installed, but that should not be a requirement.
I'm working on the fix now and will push 1.0.7 shortly.
----------------------------------------------------------------------
Comment By: David Salgado (digitalronin)
Date: 2007-08-12 14:17
Message:
Sorry, forgot to mention, this behaviour occurs on both OSX
10.4.10 and Ubuntu 7.0.4
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=13015&group_id=797
More information about the rspec-devel
mailing list