# Gem setup.rb

**URL:** <https://www.ruby-forum.com/t/gem-setup-rb/135445>\
**Category:** IronRuby\
**Created:** [April 22, 2008, 9:22am UTC](https://www.ruby-forum.com/t/gem-setup-rb/135445 "2008-04-22T09:22:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/b5ac83/32.png) [@Wayne\_K](https://www.ruby-forum.com/u/Wayne_K)\
**Post date:** [April 22, 2008, 9:22am UTC](https://www.ruby-forum.com/t/gem-setup-rb/135445/1 "2008-04-22T09:22:32Z")

</div>

Still working towards executing setup.rb for gems …

After sidestepping the lack of a module\_function implementation and  
implementing a few dummy modules such as etc.so …

1. Undefined method ‘extend’ (missing from Kernel)  
see attached patch file that implements Kernel::extend and related  
Module::extend\_object and Module::extended methods.

2. Undefined method ‘singleton\_methods’ (missing from Kernel)

3. Expression tranformation not implemented for  
Ruby.Compiler.Ast.MemberAssignmentExpression

4. Undefined method ‘fail’ when attempting to alias

When trying to call method ‘fail’, the method resolution starts looking  
in the singleton class of module Fred, but when trying to alias the  
method ‘fail’, it starts looking in module Fred.

(I’ll add these patches and bugs to the RubyForge tracker)

Cheers, Wayne.
