| Path: | rdoc/INSTALL-RDOC.rb |
| Last Update: | Wed Dec 08 22:54:43 GMT+10:00 2004 |
This program installs the RDoc from a Ruby source code directory (e.g. a CVS checkout) over the top of the already installed one.
That allows people to install the latest RDoc over their existing Ruby installation, without compromising their actual Ruby platform. (People probably don’t want to recompile the whole thing just to try the latest RDoc, and they may not want to run bleeding edge Ruby.)
Running the latest RDoc is generally a good idea if you encounter problems with the RDoc you have, as bugs are fixed quickly, but releases are slow, being tied to Ruby releases.
To install the latest RDoc (that’s compatible with Ruby 1.8):
cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src co -r ruby_1_8 ruby
Installing RDoc basically means copying everything from this directory (ruby/lib/rdoc) to wherever Ruby is installed on the system. This script follows these steps:
| FILEUTILS_OPTIONS | = | { :verbose => true } |