Coloured output in rspec 1.1.4

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4
I was already using the edge version and was ok then, before the last
update.

Anyone knows something about this?

Thank you.

On May 29, 2008, at 1:19 AM, Juanma C. wrote:

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4
I was already using the edge version and was ok then, before the last
update.

Anyone knows something about this?

First I’ve heard of it. I’m not having the same issue.

What command are you using to run rspec?

On Thu, May 29, 2008 at 5:19 AM, Juanma C. [email protected]
wrote:

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4
I was already using the edge version and was ok then, before the last
update.

Anyone knows something about this?

Can you provide more information about your environment and version of
stuff installed like zentest gem, OS, etc?

Also if this error happens when running rake spec too?

Thank you.

Regards,

Luis L.
AREA 17

Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams

David C. wrote:

On May 29, 2008, at 1:19 AM, Juanma C. wrote:

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4
I was already using the edge version and was ok then, before the last
update.

Anyone knows something about this?

First I’ve heard of it. I’m not having the same issue.

What command are you using to run rspec?

David, I am wrong. I am using the edge version, from github, not 1.1.4
I see it is numbered 1.1.5 and has this patch applied

== Version 1.1.5 (in git)

  • Disable color codes on STDOUT when STDOUT.tty? is false (patch from
    Tim Pope). Closes #413.

Maybe this is not working in Ubuntu as expected.

Besides, colours work well with ‘rake spec’ and don’t work with
‘autotest’.

On May 29, 2008, at 6:09 AM, Luis L. wrote:

On Thu, May 29, 2008 at 5:19 AM, Juanma C. <lists@ruby-
forum.com> wrote:

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4

Actually - that is not from 1.1.4 - it’s a patch that was introduced
after the 1.1.4 release. Did you follow the install directions at
Home · dchelimsky/rspec-rails Wiki · GitHub?

Excuse me Luis.

These are the versions I am using.

OS: Ubuntu 8.04
Edge Rails revision 888a2927b65889465ce7a1a71e87d37640a2b41b
ZenTest 3.9.2
rspec 1.1.5 a021e7bdc0d65ab40ad4d441ab8844bcd9c12f0c
rspec-rails e52bc93ce598f21da00cd0589cb7cebd2c1c5130

On May 29, 2008, at 6:04 AM, David C. wrote:

First I’ve heard of it. I’m not having the same issue.

What command are you using to run rspec?

Oh - you said autotest.

I do see the problem, and its source, but don’t quite know what to do
about it yet.

It was introduced in Remove special case output to STDOUT · dchelimsky/rspec@3457a3a · GitHub.

I entered a ticket
(Lighthouse - Beautifully Simple Issue Tracking
) to get it on the radar.

Cheers,
David

David C. wrote:

On May 29, 2008, at 6:09 AM, Luis L. wrote:

On Thu, May 29, 2008 at 5:19 AM, Juanma C. <lists@ruby-
forum.com> wrote:

Hello.

I have lost the coloured output in autotest after updating to rspec
v1.1.4

Actually - that is not from 1.1.4 - it’s a patch that was introduced
after the 1.1.4 release. Did you follow the install directions at
Home · dchelimsky/rspec-rails Wiki · GitHub?

More or less.
I have git-cloned from github repositories instead of make
“script/plugin install”

On May 29, 2008, at 6:14 AM, David C. wrote:

update.
do about it yet.

It was introduced in Update README.rdoc · dchelimsky/rspec@23e01f2 · GitHub
3457a3a.

I entered a ticket (Lighthouse - Beautifully Simple Issue Tracking
) to get it on the radar.

I reverted 3457a3a so if you do a ‘git pull’ you should be OK.

Cheers,
David

On May 29, 2008, at 6:32 AM, Juanma C. wrote:

Actually - that is not from 1.1.4 - it’s a patch that was introduced
after the 1.1.4 release. Did you follow the install directions at
Home · dchelimsky/rspec-rails Wiki · GitHub?

More or less.
I have git-cloned from github repositories instead of make
“script/plugin install”

script/plugin install doesn’t support getting a specific version from
git yet. To do that you have to use ‘git clone’ and then ‘git checkout
1.1.4’ (in this case).