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 Friedman wrote:
> Hi Kevin,

> 
> I found the answer to your question here:
> 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/>.
>>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 Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby
> Unleashed and ASP.NET 4 Programmer's Reference | Co-Founder of CodeValue
> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to