=====
Hi
I can't find any reference to this being a known issue or not. I'm having to work on a Rails 2.3 project for a bit, so I'm back with RSpec 1.3. I've got Spork working and I'm running it with this command:
ruby -S spec --drb --colour --format progress -o spec/spec.opts ...
But I only get a monochrome output. Any idea what might be going on?
Thought I'd ask here as it seems more RSpec- than Spork-based.
Cheers
Ashley
--
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
> I posted this to rspec-users but got no replies, so thought I'd repost and try here.
>
> =====
>
> Hi
>
> I can't find any reference to this being a known issue or not. I'm having to work on a Rails 2.3 project for a bit, so I'm back with RSpec 1.3. I've got Spork working and I'm running it with this command:
>
> ruby -S spec --drb --colour --format progress -o spec/spec.opts ...
The options flag should be O, not o.
What's in spec.opts? Anything duplicated between the command and spec.opts?
> But I only get a monochrome output. Any idea what might be going on?
>
> Thought I'd ask here as it seems more RSpec- than Spork-based.
>
> Cheers
> Ashley
>
>
> --
> http://www.patchspace.co.uk/
> http://www.linkedin.com/in/ashleymoran
>
> --
> You received this message because you are subscribed to the Google Groups "sporkgem" group.
> To post to this group, send email to spor...@googlegroups.com.
> To unsubscribe from this group, send email to sporkgem+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sporkgem?hl=en.
>
> The options flag should be O, not o.
Doh. Although, looking at the code I'm using for Autotest, I didn't write the thing that adds in that flag. Can't remember where I got it from now, but works with -O :)
> What's in spec.opts? Anything duplicated between the command and spec.opts?
Now I've got -O in the right place, my spec.opts file contains:
--drb
--colour
--format progress
And the command autospec is running is:
ruby -S spec -O spec/spec.opts <files>
But still no colour, with no errors to indicate why. Hmmm...