Ri IO -> RuntimeError

Hi all,

I just noticed that ri fires a RuntimeError when called with
IO

> ri IO

-------------------------------------------------------------- Class: IO
      Class +IO+ is the basis for all input and output in Ruby. An I/O
      stream may be _duplexed_ (that is, bidirectional), and so may use
      more than one native operating system stream.

      Many of the examples in this section use class +File+, the only
      standard subclass of +IO+. The two classes are closely associated.

      As used in this section, _portname_ may take any of the following
      forms.

c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:152:in `display_list': unknown list type (RuntimeError)
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:175:in `display_flow_item'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:225:in `display_flow'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:224:in `each'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:224:in `display_flow'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:268:in `display_flow'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:89:in `display_class_info'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:77:in `page'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_display.rb:139:in `display_class_info'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:58:in `report_class_stuff'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:93:in `get_info_for'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:122:in `process_args'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:121:in `each'
  from c:/ruby/lib/ruby/1.8/rdoc/ri/ri_driver.rb:121:in `process_args'
  from c:/ruby/bin/ri:21

This happens on Win98 as well as XP running the 1-click-installer version 1.8.1-13.

Has anybody else experienced this behaviour?

Happy rubying

Stephan

Hi all,

I just noticed that ri fires a RuntimeError when called with
IO

...

This happens on Win98 as well as XP running the 1-click-installer version 1.8.1-13.

Has anybody else experienced this behaviour?

Strange - I don't have a Window's box with ri installed, but I don't see the behavior here under OSX or Linux. Is it possible you have an old version lying around somewhere? Does anyone else see this?

Cheers

Dave

···

On Jun 9, 2004, at 16:13, Stephan Kämper wrote:

I see the same exception in my WinXP box. After poking around, I can only guess that Ruby Windows Installer build 13 comes with the broken yaml library which unmarshals Symbol instances as plain strings.

Cheers,
Kent.

···

On Jun 9, 2004, at 11:57 PM, Dave Thomas wrote:

On Jun 9, 2004, at 16:13, Stephan Kämper wrote:

Hi all,

I just noticed that ri fires a RuntimeError when called with
IO

...

This happens on Win98 as well as XP running the 1-click-installer version 1.8.1-13.

Has anybody else experienced this behaviour?

Strange - I don't have a Window's box with ri installed, but I don't see the behavior here under OSX or Linux. Is it possible you have an old version lying around somewhere? Does anyone else see this?

Cheers

Dave

Hi Dave,

Dave Thomas wrote:

Strange - I don't have a Window's box with ri installed, but I don't see the behavior here under OSX or Linux. Is it possible you have an old version lying around somewhere?

I really don't think so; it's a brand new PC and that was the first installation of, well, of everything including the OS, Ruby and everything else.

Happy rubying

Stephan

···

On Jun 9, 2004, at 16:13, Stephan Kämper wrote:

Dave Thomas writes:

> Hi all,
>
> I just noticed that ri fires a RuntimeError when called with
> IO
>
...

> This happens on Win98 as well as XP running the 1-click-installer
> version 1.8.1-13.
>
> Has anybody else experienced this behaviour?

Strange - I don't have a Window's box with ri installed, but I don't
see the behavior here under OSX or Linux. Is it possible you have an
old version lying around somewhere? Does anyone else see this?

<aol>
Me, too. XP Pro, standard ruby 1.8.1 installation. If it matters, I ran ri
under both a DOS command line window and a Cygwin window.
</aol>

Jim

···

On Jun 9, 2004, at 16:13, Stephan Kämper wrote:

--
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"The theory of computation states that all automatons can be emulated by a
Turing machine. I have a less abstract but more practical motto: If you can
do it on Intel, you can do it damn near anywhere!" -- Eugene O'Neil