After running the dev.bat and set my ICucumber is failing: C:\Projects\ILoveIronRuby\ILoveIronRuby\testing>icucumber features --no-color no such file to load -- spec/expectations Failed to load features/step_definitons/calculator_steps.rb (LoadError) C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE D\Builtins\KernelOps.cs:1341:in `require' custom_require.rb:30:in `require' polyglot.rb:69:in `require' ./features/step_definitons/calculator_steps.rb:3 C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE D\Builtins\KernelOps.cs:1341:in `require' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/rb_support/r b_language.rb:101:in `load_code_file' custom_require.rb:30:in `require' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/rb_support/r b_language.rb:46:in `step_definitions_for' polyglot.rb:69:in `require' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. rb:118:in `load_code_file' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. rb:110:in `load_code_files' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/step_mother. rb:109:in `load_code_files' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/cli/main.rb: 48:in `execute!' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/../lib/cucumber/cli/main.rb: 23:in `execute' C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE D\Extensions\IListOps.cs:810:in `each' c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.3.101/bin/cucumber:9 c:/ruby/bin/cucumber:19 C:\DevTools\IronRuby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTE D\Builtins\KernelOps.cs:1326:in `load'
C:\Projects\ILoveIronRuby\ILoveIronRuby\testing> On Wed, Sep 23, 2009 at 9:38 AM, Jim Deville <jdevi...@microsoft.com> wrote: > Can you start a new cmd process, run dev.bat, and then run "set" and > paste that output? > > Thanks > JD > > > > ------------------------------ > From: Mohammad Azam <azamsh...@gmail.com> > Sent: September 23, 2009 9:15 AM > To: ironruby-core@rubyforge.org <ironruby-core@rubyforge.org> > Subject: Re: [Ironruby-core] Seems like it is loading from the Ruby > libraries instead of IronRuby gems > > I am running this from command line shell of windows (cmd.exe) > Thanks, > Azam > > On Wed, Sep 23, 2009 at 11:00 AM, John Lam (TC) <jf...@microsoft.com>wrote: > >> Are you running from a Powershell prompt? It seems so, because your >> output tells me that you’re creating a sub-shell where the environment >> variables do get set, but then that sub-shell goes away. >> >> >> >> To fix this you’ll need a Powershell version of dev.bat. We have several >> floating around – am sure folks can point you to the right one. >> >> >> >> Thanks, >> >> -John >> >> >> >> *From:* ironruby-core-boun...@rubyforge.org [mailto: >> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam >> *Sent:* Wednesday, September 23, 2009 8:58 AM >> >> *To:* ironruby-core@rubyforge.org >> *Subject:* Re: [Ironruby-core] Seems like it is loading from the Ruby >> libraries instead of IronRuby gems >> >> >> >> I have ran dev.bat several times but it does not do anything. No entries >> were made in the environment variables so I had to manually go and do the >> entries. >> >> >> >> Also, as soon as I uninstall the MRI spec it all started working fine! >> >> On Tue, Sep 22, 2009 at 9:21 PM, Jimmy Schementi < >> jimmy.scheme...@microsoft.com> wrote: >> >> >>> Seems like when spec gem is installed on IronRuby and Ruby >> then IronRuby looks in the Ruby folder for the gem. >> >> >> >> No, that's not a correct assumption. :) RubyGems will look for gems in a >> path relative to itself if the GEM_PATH environment variable isn't set. If >> it is set (which dev.bat sets it), then RubyGems will always look on that >> path, regardless of what Ruby implementation you use. >> >> >> >> Are you running IronRuby from a dev.bat prompt, or some other way? If >> that's not the behavior you want, make sure to unset that variable at the >> command line (set GEM_PATH=) or from your Ruby scripts themselves >> (ENV['GEM_PATH'] = nil), but the latter is preferred. >> >> >> >> ~js >> >> >> ------------------------------ >> >> *From:* ironruby-core-boun...@rubyforge.org [ >> ironruby-core-boun...@rubyforge.org] on behalf of Mohammad Azam [ >> azamsh...@gmail.com] >> *Sent:* Tuesday, September 22, 2009 9:08 PM >> >> >> *To:* ironruby-core@rubyforge.org >> >> *Subject:* Re: [Ironruby-core] Seems like it is loading from the Ruby >> libraries instead of IronRuby gems >> >> I uninstall Ruby spec gem and it worked fine. Seems like when spec gem is >> installed on IronRuby and Ruby then IronRuby looks in the Ruby folder for >> the gem. >> >> On Tue, Sep 22, 2009 at 8:47 PM, Jim Deville <jdevi...@microsoft.com> >> wrote: >> >> More info please J >> >> >> >> *From:* ironruby-core-boun...@rubyforge.org [mailto: >> ironruby-core-boun...@rubyforge.org] *On Behalf Of *Mohammad Azam >> *Sent:* Tuesday, September 22, 2009 2:33 PM >> *To:* ironruby-core@rubyforge.org >> *Subject:* [Ironruby-core] Seems like it is loading from the Ruby >> libraries instead of IronRuby gems >> >> >> >> >> >> -- >> Mohammad Azam >> MVP (Microsoft Valuable Professional) >> www.highoncoding.com >> www.azamsharp.com >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core@rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> >> >> -- >> Mohammad Azam >> MVP (Microsoft Valuable Professional) >> www.highoncoding.com >> www.azamsharp.com >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core@rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> >> >> -- >> Mohammad Azam >> MVP (Microsoft Valuable Professional) >> www.highoncoding.com >> www.azamsharp.com >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core@rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > > -- > Mohammad Azam > MVP (Microsoft Valuable Professional) > www.highoncoding.com > www.azamsharp.com > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > -- Mohammad Azam MVP (Microsoft Valuable Professional) www.highoncoding.com www.azamsharp.com
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core