One option is the bin folder that Jimmy suggested which is put into your path 
by the dev.bat script.

I also want to say there is a GEMBIN environment variable or config option (for 
.gemrc or the gem command line), but I don't remember for certain.

JD

-----Original Message-----
From: Will Green <[email protected]>
Sent: June 14, 2009 12:29 PM
To: [email protected] <[email protected]>
Subject: Re: [Ironruby-core] Cucumber status



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 
<[email protected]<mailto:[email protected]>> 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 and libraries” page? 
<http://ironruby.net/Documentation/Real_Ruby_Applications> 
http://ironruby.net/Documentation/Real_Ruby_Applications

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<http://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: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Will Green
Sent: Saturday, June 13, 2009 10:48 PM
To: <mailto:[email protected]> 
[email protected]<mailto:[email protected]>
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/>http://hotgazpacho.org/2009/06/cucumber-and-ironruby-it-runs/

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

_______________________________________________
Ironruby-core mailing list
[email protected]<mailto:[email protected]>
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to