Hardbap
2007-Aug-18 14:01 UTC
RSpec: adding "--format s" to spec.opts causes rake spec to fail
Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 plugins: rspec 1.0.8 rspec_rails 1.0.8 Running spec with "rake spec SPEC_OPTS="--format s" and "ruby script/ spec --format s" works fine. But if I add "--format s" to my spec.opts then rake spec fails (see error below) here is my spec.opts: --colour --format s progress --loadby mtime --reverse --drb Error: D:\dev\project>rake spec (in D:/dev/project) (druby://localhost:8989) ./script/../vendor/plugins/rspec/lib/spec/ runner/behavi our_runner.rb:98:in `find_paths'': File or directory not found: progress (Runtime Error) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hardbap
2007-Aug-18 14:29 UTC
Re: RSpec: adding "--format s" to spec.opts causes rake spec to fail
Figured it out...removing the option "progress" fixed the error On Aug 18, 10:01 am, Hardbap <hard...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Windows XP SP 2 > ruby 1.8.5 > > gems: > rails 1.2.3 > rake 0.7.3 > > plugins: > rspec 1.0.8 > rspec_rails 1.0.8 > > Running spec with "rake spec SPEC_OPTS="--format s" and "ruby script/ > spec --format s" works fine. > > But if I add "--format s" to my spec.opts then rake spec fails (see > error below) > > here is my spec.opts: > --colour > --format s > progress > --loadby > mtime > --reverse > --drb > > Error: > > D:\dev\project>rake spec > (in D:/dev/project) > (druby://localhost:8989) ./script/../vendor/plugins/rspec/lib/spec/ > runner/behavi > our_runner.rb:98:in `find_paths'': File or directory not found: > progress (Runtime > Error)--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---