From: "James F. Hranicky" Date: 2004-01-12T22:49:41+09:00 Subject: Re: Best way to install ri documentation -- please check this On Mon, 12 Jan 2004 22:24:17 +0900 "James F. Hranicky" wrote: > The first problem with using DESTDIR I've run into is that ruby may not > be installed in its final place yet when rdoc is run, leaving you > with this: Also, it doesn't appear the install for ri uses DESTDIR: Generating RI... /usr/local/lib/ruby/1.9/ftools.rb:140:in `mkdir': Permission denied - /usr/local/share/ri (Errno::EACCES) from /usr/local/lib/ruby/1.9/ftools.rb:140:in `makedirs' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `each' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `makedirs' from /usr/local/lib/ruby/1.9/ftools.rb:136:in `makedirs' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `each' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `makedirs' from /usr/local/lib/ruby/1.9/ftools.rb:136:in `makedirs' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `each' from /usr/local/lib/ruby/1.9/ftools.rb:133:in `makedirs' from /usr/local/lib/ruby/1.9/rdoc/rdoc.rb:128:in `setup_output_dir' from /usr/local/lib/ruby/1.9/rdoc/rdoc.rb:253:in `document' from ./bin/rdoc:63 If it did follow DESTDIR, a normal user could install both ruby and the new ri/rdoc files into DESTDIR without being root. Jim