Should be fixed now in our internal repo. You can apply the attached patch if 
you want to try it before we push the sources out.

Tomas

-----Original Message-----
From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tomas Matousek
Sent: Friday, June 18, 2010 9:32 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Bundler

Looks like IronRuby bug. This works in MRI but doesn't in IronRuby:

module Kernel
  def gem
  end
end

module M
  Kernel.class_eval do
    p method(:gem)
    undef gem
  end
end

Will look at it. Thanks for reporting the issue.

Tomas

-----Original Message-----
From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Derek Ekins
Sent: Friday, June 18, 2010 5:40 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Bundler

I already am:

require 'rubygems'
require 'bundler'
Bundler.setup

I have also applied this fix (if it makes a difference) 
http://marcinobel.com/index.php/bug-invalid-exec_format-ir/

Other than that it is a fresh IronRuby 1.0 install
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
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

Attachment: UndefFix.diff
Description: UndefFix.diff

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to