# IronRuby and Cucumber

**URL:** <https://www.ruby-forum.com/t/ironruby-and-cucumber/194436>\
**Category:** IronRuby\
**Created:** [September 6, 2010, 11:50am UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436 "2010-09-06T11:50:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavitha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Post date:** [September 6, 2010, 11:50am UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436/1 "2010-09-06T11:50:46Z")

</div>

Hi,

While I was trying to integrate Iron Ruby and Cucumber the installation  
succeeded without any problems.

But when I wanted to execute some examples for CS folder I found the  
folder to be missing.

Can anyone please let me know where the folder is available.

I am using cucumber-0.6.4 and there is no folder for CS examples.

---

<div class="post-metadata">

**Author:** ![kavitha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Post date:** [September 7, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436/2 "2010-09-07T14:44:13Z")

</div>

Hi Kevin,

I found the answer to your question here:  
[Webintellix.com](http://blog.webintellix.com/2009/10/how-to-use-cucumber-with-net-and-c.html).  
This is what the guy there says:  
"As of version 0.4.3 of Cucumber, the examples\cs folder is no longer  
there  
in the code downloaded with the gem. If you like to run the above code  
in  
the post, you can download the zip file for the code at tag 0.4.2 from  
here[http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/](http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/).

> From the top, you can download the zip by clicking on the “Download Source”.  
> Then you can copy the “cs” folder to your gem installation of your  
> current  
> cucumber version.".

## Shay.

Shay F. | Microsoft Visual C#/IronRuby MVP | Author of IronRuby  
Unleashed and [ASP.NET](http://ASP.NET) 4 Programmer’s Reference | Co-Founder of CodeValue  
Blog: [http://IronShay.com](http://IronShay.com) | Twitter: [http://twitter.com/ironshay](http://twitter.com/ironshay)

---

<div class="post-metadata">

**Author:** ![kavitha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Post date:** [September 7, 2010, 4:52pm UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436/3 "2010-09-07T16:52:22Z")

</div>

Hi Shay,

Thankyou for the answer. Yes the problem got solved. I got the examples  
for the cs folder from the below site and compiled. The instruction  
states that we need to do compile.bat. This worked fine and the dll got  
generated for me. After this I am stuck and cucumber feature files are  
not getting generated. Any help from your side is highly appreciated. I  
am getting the below error.

C:\ironruby\lib\ironruby\gems\1.8\gems\cucumber-0.6.4\examples\cs\>compile

C:\ironruby\lib\ironruby\gems\1.8\gems\cucumber-0.6.4\examples\cs\>csc  
/target:li  
brary /out:Calculator.dll src\demo\Calculator.cs  
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1  
for Microsoft (R) .NET Framework version 3.5  
Copyright (C) Microsoft Corporation. All rights reserved.

C:\ironruby\lib\ironruby\gems\1.8\gems\cucumber-0.6.4\examples\cs\>icucumber  
feat  
ures  
\*\*\* WARNING: You must “igem install iron-term-ansicolor” to get coloured  
ouput i  
n on IronRuby  
no such file to load – spec/expectations (LoadError)  
C:/IronRuby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:30:in  
`require' C:/IronRuby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require’  
C:/IronRuby/lib/ironruby/gems/1.8/gems/polyglot-0.3.1/lib/polyglot.rb:63:in  
`req uire' C:/ironruby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/examples/cs/features/step_ definitons/calculator_steps.rb:1 C:/IronRuby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:30:in `require’  
C:/IronRuby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:30:in  
`require' C:/IronRuby/lib/ironruby/gems/1.8/gems/polyglot-0.3.1/lib/polyglot.rb:63:in `req  
uire’  
C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/…/lib/cucumber/rb\_sup  
port/rb\_language.rb:124:in `load_code_file' C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/../lib/cucumber/step_m other.rb:85:in `load\_code\_file’  
C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/…/lib/cucumber/step\_m  
other.rb:77:in `load_code_files' C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/../lib/cucumber/step_m other.rb:76:in `each’  
C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/…/lib/cucumber/step\_m  
other.rb:76:in `load_code_files' C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/../lib/cucumber/cli/ma in.rb:51:in `execute!’  
C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/…/lib/cucumber/cli/ma  
in.rb:20:in `execute' C:/IronRuby/lib/ironruby/gems/1.8/gems/cucumber-0.6.4/bin/cucumber:8 C:/Ruby19/bin/cucumber:19:in `load’  
C:/Ruby19/bin/cucumber:19

Shay F. wrote:

> Hi Kevin,

> I found the answer to your question here:  
> [Webintellix.com](http://blog.webintellix.com/2009/10/how-to-use-cucumber-with-net-and-c.html).  
> This is what the guy there says:  
> "As of version 0.4.3 of Cucumber, the examples\cs folder is no longer  
> there  
> in the code downloaded with the gem. If you like to run the above code  
> in  
> the post, you can download the zip file for the code at tag 0.4.2 from  
> here[http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/](http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/).
> 
> > From the top, you can download the zip by clicking on the “Download Source”.  
> > Then you can copy the “cs” folder to your gem installation of your  
> > current  
> > cucumber version.".
> 
> ## Shay.
> 
> Shay F. | Microsoft Visual C#/IronRuby MVP | Author of IronRuby  
> Unleashed and [ASP.NET](http://ASP.NET) 4 Programmer’s Reference | Co-Founder of CodeValue  
> Blog: [http://IronShay.com](http://IronShay.com) | Twitter: [http://twitter.com/ironshay](http://twitter.com/ironshay)

---

<div class="post-metadata">

**Author:** ![kavitha](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/edb3f5/32.png) [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Post date:** [September 7, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436/4 "2010-09-07T16:59:54Z")

</div>

Hi Shay,

I have been closely following the details mentioned in your website for  
the past two weeks. The example solution file for running IronRuby using  
.NET and VS2008 was very helpful for me. I succeeded in running IronRuby  
scripts using the sample provided by you. Thankyou for the same.

kavin

> > Hi Kevin,
> 
> > I found the answer to your question here:  
> > [Webintellix.com](http://blog.webintellix.com/2009/10/how-to-use-cucumber-with-net-and-c.html).  
> > This is what the guy there says:  
> > "As of version 0.4.3 of Cucumber, the examples\cs folder is no longer  
> > there  
> > in the code downloaded with the gem. If you like to run the above code  
> > in  
> > the post, you can download the zip file for the code at tag 0.4.2 from  
> > here[http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/](http://github.com/aslakhellesoy/cucumber/tree/v0.4.2/examples/).
> > 
> > > From the top, you can download the zip by clicking on the “Download Source”.  
> > > Then you can copy the “cs” folder to your gem installation of your  
> > > current  
> > > cucumber version.".
> > 
> > ## Shay.
> > 
> > Shay F. | Microsoft Visual C#/IronRuby MVP | Author of IronRuby  
> > Unleashed and [ASP.NET](http://ASP.NET) 4 Programmer’s Reference | Co-Founder of CodeValue  
> > Blog: [http://IronShay.com](http://IronShay.com) | Twitter: [http://twitter.com/ironshay](http://twitter.com/ironshay)
