Forum: Ruby Odd Ruby 1.9.1.rc2 error message

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
38fe29bdc9f35531288b2e5974b889a4?d=identicon&s=25 mwlang88 (Guest)
on 2009-01-30 01:55
(Received via mailing list)
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
3131fcea0a711e5ad89c8d49cc9253b4?d=identicon&s=25 Julian Leviston (Guest)
on 2009-01-30 07:00
(Received via mailing list)
How come 1.9.1 how come rc2 isn't on the site announced?

Sent from my iPhone
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 Yukihiro Matsumoto (Guest)
on 2009-01-30 10:51
(Received via mailing list)
Hi,

In message "Re: Odd Ruby 1.9.1.rc2 error message"
    on Fri, 30 Jan 2009 09:52:31 +0900, mwlang88 <mwlang@gmail.com>
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.
38fe29bdc9f35531288b2e5974b889a4?d=identicon&s=25 mwlang88 (Guest)
on 2009-01-31 13:30
(Received via mailing list)
On Jan 30, 4:48 am, Yukihiro Matsumoto <m...@ruby-lang.org> 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
This topic is locked and can not be replied to.