Ruby 1.8.5p1 Released

Eric Hodel | Sat, 24 Jun 2006 10:21:00 GMT

Posted in

Ruby 1.8.5 preview 1 is available for download.

There's a big, big change in 1.8.5p1, ri will now read documentation from gems. I'd really like to get feedback on this in case any unexpected bugs show up. To test this out you'll need to install 1.8.5p1 and grab the latest rubygems:

gem update --system --source http://onestepback.org/betagems

Then run:

gem rdoc --ri --no-rdoc gemname

For example:

$ sudo gem rdoc --ri --no-rdoc rc-rest
Installing ri documentation for rc-rest-1.0.0...

You should see many more classes in ri -l:

$ ri -l | egrep -v '::[a-z]|#'
...
RCRest
RCRest::Error
Autotest
RailsAutotest
UnitDiff
ZenTest

(Hrm, maybe I should add sorting to ri -l.)

I also made the rdoc command not print warnings when being run in quiet mode so newbies won't get scared when the gem command spits out strange messages. 3 comments

Comments RSS FEED

There’s something odd about “rdoc” + “—no-rdoc”. I’m confused, actually.

- Dan

Daniel Berger said about 17 hours later

gem rdoc can build both ri and rdoc files. You’ve probably got the RDoc installed already, so there’s no sense building it again. It’ll just waste your time.

Eric Hodel said about 17 hours later

Ah, right, of course. Thanks.

Dan

Daniel Berger said 3 days later

Comments are disabled