# Gems setup.rb continued

**URL:** <https://www.ruby-forum.com/t/gems-setup-rb-continued/134371>\
**Category:** IronRuby\
**Created:** [April 10, 2008, 9:16am UTC](https://www.ruby-forum.com/t/gems-setup-rb-continued/134371 "2008-04-10T09:16:36Z")\
**Posts on this page:** 2\
**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 10, 2008, 9:16am UTC](https://www.ruby-forum.com/t/gems-setup-rb-continued/134371/1 "2008-04-10T09:16:36Z")

</div>

After a hack to work around the previous regular expression substitution  
problem, we continue …

1. throw exception “Malformed version number” (due to $1 returning nil  
after a successful match)

2. $1 still incorrectly returns nil

3. Wrong number or type of arguments for method “module\_eval”

4. Wrong number or type of arguments for method “private”

5. Wrong number or type of arguments for method “define\_method”

6. Undefined method “module\_function”

Cheers, Wayne.

---

<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 11, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/gems-setup-rb-continued/134371/2 "2008-04-11T16:56:57Z")

</div>

Wayne K.:

> see attached patch  
> 4) Wrong number or type of arguments for method “private”  
> 6) Undefined method “module\_function”  
> - not yet implemented in ModuleOps.  
> - this one looks a little tricker, so I’ll leave it to someone  
> with greater knowledge of the IronRuby internals …

Thanks for making this stuff happen, Wayne!

I’m working on a broad set of changes in the libraries right now. I’ll  
review and integrate your changes ASAP.

Thanks,  
-John
