Cucumber lost the letter a on windows
May 5th, 2009 at 2:34 pm
Find that the letter ‘a’ is missing from your output from cucumber in windows? Try adding the line
$KCODE=''
to your features/support/env.rb file.
It worked for me.
Tags: cucumber, letter a, Rails
In Programming.
You can leave a response, or trackback from your site.
That works… thanks.
Next… why does it work?
I’m not exactly sure why this works, but there are details on the lighthouse ticket. It says it’s resolved, so you might also check your version. I’m using Linux now for my rails development, but I know I ran into this on Windows.
Here is the ticket
Also looks like the author has added info on troubleshooting this issue.
Cucumber is pretty cool but this console output formatting is a really stinky design decision.
[...] found a couple gotchas at this point when working in Windows. The first is that cucumber doesn’t display the letter ‘a’ in the output if you don’t modify ./features/support/env.rb with the following line: 1 [...]
It was kind of weird to run into this, thanks for posting a workaround.
Thanks – how bizarre! It makes a bit of sense now that I see Aslak’s explanation… but only a bit.