[Ironruby-core] Cucumber with IronRuby

Mohammad Azam lists at ruby-forum.com
Mon Mar 1 12:36:13 EST 2010


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/.


More information about the Ironruby-core mailing list