[Rubyinstaller-devel] [Fwd: problem installing ri with cygwin]
andy at toolshed.com
Mon Mar 8 22:50:26 EST 2004
More on the ri/rdoc/irb issues. It's the same old story, but I thought
I'd send this along for posterity.
> From: Bret Pettichord <bret at pettichord.com>
> To: andy at toolshed.com
> Subject: problem installing ri with cygwin
> Date: 08 Mar 2004 15:10:56 -0600
> I have installed ri from
> http://www.pragmaticprogrammer.com/ruby/downloads/ri.html. I actually
> installed it twice, once for my mswin32 ruby and once for my cygwin ruby.
> The mswin32 ruby worked fine. The cygwin didn't, although i was able to
> correct this.
> This report documents the problem and how i worked around it.
> This demonstrates the problem:
> $ ruby install.rb
> install.rb:46: warning: string =~ string will be obsolete; use explicit regexp
> Generating binary help information
> chmod 0755 /usr/lib/ruby/site_ruby/ri
> Installing reference material
> descriptions/Array -> /usr/lib/ruby/site_ruby/ri/Array
> chmod 0644 /usr/lib/ruby/site_ruby/ri/Array
> descriptions/index -> /usr/lib/ruby/site_ruby/ri/index
> chmod 0644 /usr/lib/ruby/site_ruby/ri/index
> descriptions/Bignum -> /usr/lib/ruby/site_ruby/ri/Bignum
> chmod 0644 /usr/lib/ruby/site_ruby/ri/Bignum
> $ ri Array
> Nothing known about Array
> $ ri
> alpha 0.1
> Classes and modules I know about:
> ClassIndex, ClassModule, Emacs, Fragment, GtkPlain, GtkRiWin, ListEntry,
> esc, MethodIndex, NilPlain, OurTopics, OutputStream, Paragraph, Plain,
> ch, RI, Tagged, Verbatim
> For help, type 'ri -h'
> How i solved the problem
> I used `which ri` to find out that it was /usr/bin/ri. When i looked at
> that file, it was timestamped in December. However, /usr/bin/ri.rb had
> todays timestamp. I removed the old ri and copied ri.rb as ri. This
> corrected my problem.
> I don't know where the old ri came from or why it wasn't overwritten by the
> Hope this helps. Thanks again for making this available.
More information about the Rubyinstaller-devel