On Aug 22, 2006, at 3:19 AM, Yukihiro Matsumoto wrote:

> I have just submitted 1.8.5 preview5, which should be the final
> preview before stable 1.8.5 release.
>
>   ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-preview5.tar.gz
>   db6d16512fe996abcad6d6b29cfd80c2
>
> this preview includes several last minutes changes.  if you have find
> anything wrong those changes would be reverted.

$ make
[...]
gcc main.o  libruby185p5-static.a -ldl -lobjc   -o miniruby -O -g - 
pipe -fno-common  -DRUBY_EXPORT
/usr/bin/ld: warning multiple definitions of symbol _setregid
libruby185p5-static.a(process.o) definition of _setregid in section  
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
(setregid.So) definition of _setregid
/usr/bin/ld: warning multiple definitions of symbol _setreuid
libruby185p5-static.a(process.o) definition of _setreuid in section  
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
(setreuid.So) definition of _setreuid
rbconfig.rb updated
[...]
making ruby185p5
gcc -O -g -pipe -fno-common  -DRUBY_EXPORT   -L.   main.o  - 
lruby185p5-static -ldl -lobjc   -o ruby185p5
/usr/bin/ld: warning multiple definitions of symbol _setregid
./libruby185p5-static.a(process.o) definition of _setregid in section  
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
(setregid.So) definition of _setregid
/usr/bin/ld: warning multiple definitions of symbol _setreuid
./libruby185p5-static.a(process.o) definition of _setreuid in section  
(__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libdl.dylib 
(setreuid.So) definition of _setreuid
$ sudo rm -r /usr/local/share/ri/1.8/
$ sudo make install-doc
Generating RDoc documentation
./miniruby ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op  
"/usr/local/share/ri/1.8/system" "."

                             array.c: c.
No definition for rb_ary_s_create
.
No definition for rb_ary_initialize
.
No definition for rb_ary_replace
.
No definition for rb_ary_to_s
.
No definition for rb_ary_inspect
.
No definition for rb_ary_to_a
.
No definition for rb_ary_to_ary_m
.
No definition for rb_ary_frozen_p
.
No definition for rb_ary_equal
.
[...]
$ ri Array#replace
Nothing known about Array#replace
$

Did this patch not make it into 1.8.5p5?

http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/rdoc/parsers/ 
parse_c.rb?cvsroot=src&r1=1.7.2.28&r2=1.7.2.29

$ patch
--- ruby/lib/rdoc/parsers/parse_c.rb    2006/08/22 09:51:47     1.7.2.28
+++ ruby/lib/rdoc/parsers/parse_c.rb    2006/08/22 10:38:58     1.7.2.29
@@ -553,7 +553,7 @@     def handle_method(type, var_name, me
      def find_body(meth_name, meth_obj, body, quiet = false)
        case body
        when %r{((?>/\*.*?\*/\s*))(?:static\s+)?VALUE\s+#{meth_name}
-              \s*(\([^)]*\))\s*\{.*?^\}}xm
+              \s*(\(.*?\)).*?^}xm
          comment, params = $1, $2
          body_text = $&
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ruby/lib/rdoc/parsers/parse_c.rb   2006/08/22 09:51:47     1.7.2.28
|+++ ruby/lib/rdoc/parsers/parse_c.rb   2006/08/22 10:38:58     1.7.2.29
--------------------------
File to patch: lib/rdoc/parsers/parse_c.rb
patching file lib/rdoc/parsers/parse_c.rb
$ sudo make install
[...]
$ sudo make install-doc
Generating RDoc documentation
./miniruby ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op  
"/usr/local/share/ri/1.8/system" "."

                             array.c:  
c....................................................................... 
.
[...]
$ ri  
Array#replace----------------------------------------------------------  
Array#replace
      array.replace(other_array)  -> array
[...]
$

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com