# Got it to work but whats with the crazy output

**URL:** <https://www.ruby-forum.com/t/got-it-to-work-but-whats-with-the-crazy-output/175941>\
**Category:** IronRuby\
**Created:** [September 23, 2009, 1:24am UTC](https://www.ruby-forum.com/t/got-it-to-work-but-whats-with-the-crazy-output/175941 "2009-09-23T01:24:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![metanoize](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Post date:** [September 23, 2009, 1:24am UTC](https://www.ruby-forum.com/t/got-it-to-work-but-whats-with-the-crazy-output/175941/1 "2009-09-23T01:24:22Z")

</div>

I got Cucumber to use a C# dll. I had to explicitly compile the dll  
since  
compile.dll was giving some errors. Here is the result:

C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs\>icucumber  
features  
Feature: Addition  
In order to avoid silly mistakes  
As a math idiot  
I want to be told the sum of two numbers

Scenario Outline: Add two numbersâ†[90m #  
features/addition.  
feature:6â†[0m  
â†[36mGiven I have entered \<input\_1\> into the calculatorâ†[90m #  
features/step  
\_definitons/calculator\_steps.rb:9â†[0mâ†[0m  
â†[36mAnd I have entered \<input\_2\> into the calculatorâ†[90m #  
features/step  
\_definitons/calculator\_steps.rb:9â†[0mâ†[0m  
â†[36mWhen I press addâ†[90m #  
features/step  
\_definitons/calculator\_steps.rb:13â†[0mâ†[0m  
â†[36mThen the result should be on the screenâ†[90m #  
features/step  
\_definitons/calculator\_steps.rb:17â†[0mâ†[0m

```
Examples:
  | â†[36mâ†[1minput_1â†[0mâ†[0mâ†[36mâ†[0m |â†[0m

```

â†[36mâ†[1minput\_2â†[0mâ†[0mâ†[36mâ†[0  
m |â†[0m â†[36mâ†[1moutputâ†[0mâ†[0mâ†[36mâ†[0m |â†[0m  
| â†[32m20 â†[0mâ†[0m |â†[0m â†[32m30 â†[0mâ†[0m |â†[0m â†[32m50  
â†[0mâ†[0  
m |â†[0m  
| â†[32m2 â†[0mâ†[0m |â†[0m â†[32m5 â†[0mâ†[0m |â†[0m â†[32m7  
â†[0mâ†[0  
m |â†[0m  
| â†[32m0 â†[0mâ†[0m |â†[0m â†[32m40 â†[0mâ†[0m |â†[0m â†[32m40  
â†[0mâ†[0  
m |â†[0m

3 scenarios (â†[32m3 passedâ†[0m)  
12 steps (â†[32m12 passedâ†[0m)  
0m0.506s

C:\ruby\lib\ruby\gems\1.8\gems\cucumber-0.3.101\examples\cs\>

Not sure what is all the information but looks like it ran!

---

<div class="post-metadata">

**Author:** ![metanoize](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Post date:** [September 23, 2009, 2:29am UTC](https://www.ruby-forum.com/t/got-it-to-work-but-whats-with-the-crazy-output/175941/2 "2009-09-23T02:29:25Z")

</div>

This output is because Cucumber by default outputs the text with color  
codes, which are not supported by cmd.exe.

Just use the --no-color switch and the output will look like expected.

## Shay.

Shay F.  
Author of “IronRuby Unleashed”  
[http://www.IronShay.com](http://www.IronShay.com)  
Follow me: [http://twitter.com/ironshay](http://twitter.com/ironshay)

---

<div class="post-metadata">

**Author:** ![metanoize](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/9fc29f/32.png) [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Post date:** [September 23, 2009, 6:37am UTC](https://www.ruby-forum.com/t/got-it-to-work-but-whats-with-the-crazy-output/175941/3 "2009-09-23T06:37:44Z")

</div>

Thanks Shay! It worked and the output is very readable now!
