My pleasure! I hope others will find the guide helpful. Pleas feel free to link to the post and publicize it any way you see fit.

As for the cucumber executables (cucumber & cucumber.bat), or any gem that installs executable commands, these files are installed by the gem command, by default, in the same directory as the ruby executable. Perhaps some combination of setting GEM_HOME and GEM_PATH could allow them to be installed elsewhere? My RubyGems-foo is not yet advanced enough.

I would hate for this to be a manual process for every gem install, every time you rebuild IronRuby. I'm open to suggestions on automating this, and ammending the post.

--
Will Green
http://willgreen.mp/



On Jun 14, 2009, at 2:42 PM, Jimmy Schementi <jimmy.scheme...@microsoft.com > wrote:

Thanks for the post! It will be very useful to people wanting to use it. Mind if I put something similar on the “Real Ruby applications a nd libraries” page? http://ironruby.net/Documentation/Real_Ruby_Applicatio ns



I have comment about the last section:

SUPER IMPORTANT NOTE!

Any time you rebuild IronRuby, the C# compiler will erase the contents of the directory C:\Development\IronRuby\Merlin\Main\Bin \Debug. This includes the cucumber and cucumber.bat files. The only way I know to rectify this is to igem install -–no-rdoc -–no-ri cucumber once again.

To avoid doing this, just have people create the cucumber.bat/ cucumber files in Merlin/Main/Languages/Ruby/Scripts/bin, where all the other files like that are (rails.bat, rake.bat, etc). I believe that directory already copies to a build’s $(TargetDir), but if not you can either just add it to the path or make it copy.



~js



From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org ] On Behalf Of Will Green
Sent: Saturday, June 13, 2009 10:48 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Cucumber status



I just wrote up a blog post detailing, step by step, the process I followed to get Cucumber working with IronRuby. May be old hat to some of you, but I figured that documenting my process might help others going forward.



http://hotgazpacho.org/2009/06/cucumber-and-ironruby-it-runs/



--

Will Green
http://willgreen.mp/


_______________________________________________
Ironruby-core mailing list
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