The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Ruby 1.8.1 ri Data Files

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Britt

Posts: 1319
Nickname: jamesbritt
Registered: Apr, 2003

James Britt is a principal in 30 Second Rule, and runs ruby-doc.org and rubyxml.com
Ruby 1.8.1 ri Data Files Posted: Apr 23, 2004 8:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by James Britt.
Original Post: Ruby 1.8.1 ri Data Files
Feed Title: ruby-doc
Feed URL: http://www.ruby-doc.org/index.rb/rss0.91.xml
Feed Description: New and updates for the Ruby Documentation Project web site.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by James Britt
Latest Posts From ruby-doc

Advertisement

If you are running the Windows self-installer version of Ruby 1.8.1 you likely have problems running ri. For various reasons, the ri data files are not included with the distribution, and running RDoc to generate the data files fails.

Curt Hibbs, who is among the team responsible for preparing the Ruby Windows installer, has zipped up the data files for Ruby 1.8.1 and made them available. They are mirrored here on the ruby-doc download page as well.

Curt offers these instructions for getting ri to play nice in the Windows installer:

  1. Unzip this into your ruby install dir (you should then have a "share" subdirectory in your ruby install dir)
  2. rdoc.bat in the bin directory has 4 bad paths in them (all near the top of the file). You don't need to delete his batch file, just change the paths to your ruby install dir ("c:\ruby" by default)
  3. "rdoc" and "ri" in the bin directory are missing their ".rb" extensions -- simply rename them
(Note: Curt's instructions say to extract the zip file into the Ruby installation directory, which should create a 'share' subdirectory, but it seems that the zip file only contains an ri directory and its subtrees. You may need to first create the 'share directory and extract the data files there, giving you, for example, c:\ruby\share\ri ... )

As of right now, the current version of the Windows install is 1.8.1-12, released April 18, 2004. Later version may not have this ri issues.

Read: Ruby 1.8.1 ri Data Files

Topic: Deep Cloning Previous Topic   Next Topic Topic: Russel Beattie secretly lusts for Ruby on Rails

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use