Hm... I've just tried that and it worked let's see what we have: http://pastie.org/828924
I've installed fresh rvm install of the Merb 1.0.15 and all worked. I remember that there was some RSpec change with the spec.opts it tried to create one all the time because RSpec from some version did need it. Look at the pastie, it's fresh Merb 1.0.15 on 1.8.7 and it works. Crucial I think is you have what I have when I generate app. Try to generate fresh app and see if it works. Pavel On Feb 17, 1:46 pm, David Chelimsky <[email protected]> wrote: > Different versions of merb are tied to specific versions of rspec > because merb added some features via monkey patches (because rspec > didn't offer the necessary APIs). I'm not sure which versions go > together, but that could be a source of problems if they're not > properly aligned. > > On Feb 16, 4:53 pm, George Adamson <[email protected]> > wrote: > > > > > Thanks Pavel, > > > C:\crm>jruby -S spec -v > > rspec1.3.0 > > > C:\crm>jruby -v > > jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) > > (Java HotSpot(TM) Client VM 1.6.0_16) [x86-java] > > > merb 1.0.15 > > > Any clues about why spec is not running would be much appreciated. > > (Judging by responses on twitter, other people have been having this > > trouble too) > > > George > > > On Feb 16, 7:17 pm, Pavel Kunc <[email protected]> wrote: > > > > I came across this but don't remember what caused that. I think some > > >rspecversion or something. What do you use? > > > > Pavel > > > > On Feb 15, 4:49 pm, George Adamson <[email protected]> > > > wrote: > > > > > Calling *spec countries_spec.rb* or *rake spec:model* etc seems to > > > > just adds lines to the spec.opts file. > > > > > It produces this output: > > > > Options written to spec/spec.opts. You can now use these options > > > > with: > > > > spec --options spec/spec.opts > > > > > Am I doing something wrong? What command should I use to run tests? > > > > (Using merb 1.0.15 on JRuby) > > > > > Many thanks, > > > > George -- You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/merb?hl=en.
