Note: if you have Ruby installed, it will still be ahead of IronRuby in the OS 
Path, so you’ll have to do “ir -S cucumber”. To answer your question on the 
previous thread, it’s documented on the ir.exe directly (ir.exe /?).

From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi
Sent: Wednesday, June 23, 2010 1:28 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Cucumber with IronRuby V 1.0

No, actually, he is using IronRuby, but setting the GEM_PATH to his Ruby 
implementation, which is those stack traces come from c:\ruby.

Azam, first off, I’d recommend using the IronRuby 1.0 installer and not 
changing any other settings, like GEM_PATH; you’ll just run into these simple 
configuration issues, and we all know how you don’t like configuration. =) 
Also, we’d prefer not to answer these configuration issues, so please used the 
installer.

So, no need for a icucumber.bat file … just do “igem install cucumber -v0.6.4” 
(from an elevated command prompt). Then just running “cucumber” will run 
against IronRuby.

~Jimmy

From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Eddie Cianci
Sent: Wednesday, June 23, 2010 12:39 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Cucumber with IronRuby V 1.0

Hi Mohammad --

That looks like your Ruby not IronRuby ... Try running:

ir -S cucumber



On Wed, Jun 23, 2010 at 3:27 PM, Mohammad Azam 
<azamsh...@gmail.com<mailto:azamsh...@gmail.com>> wrote:
I downloaded and install Cucumber 0.6.4. I deleted the Cucumber 0.8.3 folder 
but now when I run the following command.

c: cucumber

I get the following error:

no such file to load -- 
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.8.3/bin/cucumber


On Wed, Jun 23, 2010 at 2:05 PM, Will Green 
<w...@hotgazpacho.org<mailto:w...@hotgazpacho.org>> wrote:
There is an issue with the Gherkin parser used by Cucumber.

Downgrade to Cucumber 0.6.4, which does not use the Ragel-generated (native 
code) parser. It is slower, but it works.

http://github.com/aslakhellesoy/gherkin/issues/issue/63

--
Will Green
http://hotgazpacho.org/
On Wed, Jun 23, 2010 at 2:04 PM, Mohammad Azam 
<azamsh...@gmail.com<mailto:azamsh...@gmail.com>> wrote:
What are the steps of running Cucumber with IronRuby? Do I need to make a 
separate batch file called ICucumber.bat and then invoke it. Here is my 
ICucumber.bat file:

@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET 
MONO_PATH=C:/IronRuby/lib/ironruby/gems/1.8/gems/gherkin-2.0.2-universal-dotnet/lib
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
@"C:\IronRuby\bin\ir.exe" "c:\ruby\bin\cucumber" %*

Any ideas?



--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com<http://www.highoncoding.com>
www.azamsharp.com<http://www.azamsharp.com>

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core


_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com<http://www.highoncoding.com>
www.azamsharp.com<http://www.azamsharp.com>

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org<mailto:Ironruby-core@rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to