[Ironruby-core] Cucumber with IronRuby

Jim Deville jdeville at microsoft.com
Mon Mar 1 12:47:02 EST 2010


Get rid of the quotes. You don't have spaces in your path, so it shouldn't be needed. Can we also get you to join the mailing list so that the threads are preserved better? The ruby-forum isn't good for these long conversations.

JD

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 9:36 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Cucumber with IronRuby

Just modified the icucumber.bat to this:

@ECHO OFF
REM This is to tell IronRuby where to find gems.
SET GEM_PATH=c:\ruby\lib\ruby\gems\1.8
@"C:\DevTools\ironruby-1.0-rc1\bin\ir.exe -d" "c:\ruby\bin

\cucumber" %*


Now ran the icucumber and got the following:


C:\Projects\ILoveIronRuby\ILoveIronRuby\IronRubyConsoleApp>icucumber
features/pr
ime.feature
'"C:\DevTools\ironruby-1.0-rc1\bin\ir.exe -d"' is not recognized as an internal or external command, operable program or batch file.

Thanks,
Azam



Jim Deville wrote:
> Can you modify icucumber to run ir -d to turn on debug mode? That 
> should give some logs that will help. This is not the same as typing 
> ir -d on the command line. This is modifying the icucumber.bat file 
> you showed earlier to use the -d option. Then run icucumber 
> feature/whatever like you were before.
> 
> JD
> 
> JD

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



More information about the Ironruby-core mailing list