Ah ha! The key is to pass a --bindir argument to igem. I've updated my post to reflect this change. Thanks, Jimmy and Jim! -- Will Green http://willgreen.mp/
On Sun, Jun 14, 2009 at 8:36 PM, Will Green <[email protected]> wrote: > Looks like the GEM_BIN environment variable is one way folks swap between > 1.8.6 and 1.9.1 of MRI on the same machine: > http://www.jurisgalang.com/articles/show/Dual%20Ruby%20Installation > > <http://www.jurisgalang.com/articles/show/Dual%20Ruby%20Installation>I'll > investigate setting this, along with GEM_HOME and GEM_PATH in dev.bat to the > directory tree Jimmy suggested, and report back. Thanks for the pointer! > > -- > Will Green > http://willgreen.mp/ > > > On Sun, Jun 14, 2009 at 6:25 PM, Jim Deville <[email protected]>wrote: > >> 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]> 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/cucumberfiles >> 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]<[email protected]>] >> *On Behalf Of *Will Green >> *Sent:* Saturday, June 13, 2009 10:48 PM >> *To:* <[email protected]>[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] >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> _______________________________________________ >> Ironruby-core mailing list >> [email protected] >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
