[Ironruby-core] IronRuby and Cucumber - undefined method `bin_path' for

Jimmy Schementi Jimmy.Schementi at microsoft.com
Thu May 14 13:01:29 EDT 2009

Thanks for reporting these issues. I'm well aware of these issues with running Cucumber, and am working on getting it running today. The "frozen object" issue is with optparse, and Shri already has a fix for it. I'll get the instructions updated on the cucumber wiki to run it with IronRuby.

Merrell, if you have a fix to expand_path, please commit/push it to your fork of IronRuby and send a link to the commit + some description to this list. More detailed instructions are here: http://wiki.github.com/ironruby/ironruby/contributing.


> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Merrell Reed
> Sent: Thursday, May 14, 2009 9:30 AM
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] IronRuby and Cucumber - undefined method
> `bin_path' for
> I just copied the the bin_path code from
> C:\path\to\ruby\lib\ruby\site_ruby\1.8\rubygems.rb to
> \path\to\ironruby\libraries\lib\ruby\site_ruby\1.8\rubygems.rb  and it
> works fine with cucumber but I am now getting some new errors with a
> frozen object being called.
> I have also fixed the problem with expand_path I removed Path and used
> a
> stack and parsed the path myself but I am a contributing noob and not
> sure really how to add this.
> But I was able to get rspec running with my .net code. I made a bat
> that
> calls spec (in ruby folder) mycode.rb using ironruby
> Matt Otto wrote:
> > Hello,
> >
> > I'm running into the following issue trying to run cucumber with the
> > latest iron ruby source from git:
> > c:/ruby/bin/cucumber:19: undefined method `bin_path' for Gem:Module
> > (NoMethodError)
> >
> > This occurs when running either icucumber --help or the i18n cucumber
> > sample. I've not tried any of the other examples.
> >
> > Yesterday morning I was able to get the scenarios in the i18n
> examples
> > to partially execute until they failed with
> > "Unable to cast from Func to BlockCallTargetN" and :0:in `concat':
> > can't modify frozen object (TypeError)". exceptions, but after
> > updating this morning I'm only seeing the undefined method exception.
> >
> > I'm currently sharing gems between MRI and Iron Ruby if that matters,
> > and am using the instructions found here for cucumber:
> > http://wiki.github.com/aslakhellesoy/cucumber/ironruby-and-net
> >
> > Does anyone have any ideas? Or should I file a bug for this on
> > CodePlex? Also if you need more information let me know.
> >
> > Thanks in advance,
> > Matt
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core

More information about the Ironruby-core mailing list