Either: rake specs OR
rake spec TASK=task_name (without trailing _spec) Corey On Mar 28, 2008, at 14:05 , Phlip wrote: > Merbies: > > The relevant versions are merb 0.9.2 and rspec 1.1.3. > > I merb-gen a brand new application, with all the default options. > Then I > generate a controller with > > merb-gen controller grepper -S > > Running rake spec provides this: > > /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/options.rb: > 195:in > `files_to_load': File or directory not found: spec/_spec.rb > (RuntimeError) > from > /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/options.rb: > 187:in > `each' > from > /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/options.rb: > 187:in > `files_to_load' > from > /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/options.rb: > 85:in > `run_examples' > from > /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/lib/spec/runner/ > command_line.rb:19:in > `run' > from /usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/bin/spec:4 > rake aborted! > Command ruby -I"lib:server/lib" > "/usr/lib/ruby/gems/1.8/gems/rspec-1.1.3/bin/spec" "spec/_spec.rb" -- > format > specdoc --colour failed > > Any ideas how to get around it? > > -- > Phlip > > > > _______________________________________________ > Merb-devel mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/merb-devel _______________________________________________ Merb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/merb-devel
