# Odd Ruby 1.9.1.rc2 error message

**URL:** <https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987>\
**Category:** Ruby\
**Created:** [January 30, 2009, 1:55am UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987 "2009-01-30T01:55:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwlang88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Post date:** [January 30, 2009, 1:55am UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987/1 "2009-01-30T01:55:33Z")

</div>

Hello,

I’ve been largely successful in compiling Ruby 1.9.1.rc2 and launching  
a Rails 2.2.2 with mysql backend but as I pull in the various gems  
such as hpricot, thin, mongrel, I’m encountering this “top (required)”  
error in many ruby files and not quite sure what it means.

what does this error mean? —\> `block in \<top (required)\>’

My best guess is that it has something to do with either scoping or  
inheritance, but I am just not quite sure. If I understood the error  
better, I’d know how to make the necessary Ruby syntax changes, but  
I’m stumped!

Michael

---

<div class="post-metadata">

**Author:** ![mwlang88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Post date:** [January 30, 2009, 7:00am UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987/2 "2009-01-30T07:00:37Z")

</div>

How come 1.9.1 how come rc2 isn’t on the site announced?

Sent from my iPhone

---

<div class="post-metadata">

**Author:** ![mwlang88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Post date:** [January 30, 2009, 10:51am UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987/3 "2009-01-30T10:51:33Z")

</div>

Hi,

In message “Re: Odd Ruby 1.9.1.rc2 error message”  
on Fri, 30 Jan 2009 09:52:31 +0900, mwlang88 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
writes:

|I’ve been largely successful in compiling Ruby 1.9.1.rc2 and launching  
|a Rails 2.2.2 with mysql backend but as I pull in the various gems  
|such as hpricot, thin, mongrel, I’m encountering this “top (required)”  
|error in many ruby files and not quite sure what it means.  
|  
|what does this error mean? —\> `block in \<top (required)\>’

I think you’ve omitted important part of the message. Could you fully  
disclose your error message lines?

```
          matz.

```

---

<div class="post-metadata">

**Author:** ![mwlang88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/57b2e6/32.png) [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Post date:** [January 31, 2009, 1:30pm UTC](https://www.ruby-forum.com/t/odd-ruby-1-9-1-rc2-error-message/158987/4 "2009-01-31T13:30:54Z")

</div>

On Jan 30, 4:48 am, Yukihiro M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> |what does this error mean? —\> `block in \<top (required)\>’
> 
> I think you’ve omitted important part of the message. Could you fully  
> disclose your error message lines?
> 
> ```
> matz.
> 
> ```

Sorry, wasn’t meaning to be cryptic. It was an error I encountered in  
several gem packages I was attempting to test out in the 1.9  
environment, so I was just seeking a general explanation of what the  
error meant.

Installing the Ruby 1.9.1.p0 release that was just announced fixed it  
and I’ve since wiped out RC2 (before seeing this request for more  
info).

I have yet to see the message again in 1.9.1.p0. If I do encounter,  
will definitely update this thread with more info. At any rate, great  
work on getting 1.9.1 final released.

Michael
