まつもと ゆきひろです

In message "Re: [ruby-cvs:18273] ruby, ruby/lib: * lib/optparse.rb (OptionParser#getopts): use strings as key."
    on Tue, 26 Sep 2006 23:57:20 +0900, nobu / ruby-lang.org (nobu) writes:

|  Modified files:
|    ruby:
|      ChangeLog
|    ruby/lib:
|      optparse.rb
|  Log:
|    * lib/optparse.rb (OptionParser#getopts): use strings as key.
|      fixed: [ruby-dev:29614]
|  
|  Revision    Changes    Path
|  1.5435      +5   -0    ruby/ChangeLog
|    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.5434&r2=1.5435
|  1.68        +22  -12   ruby/lib/optparse.rb
|    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/optparse.rb?cvsroot=src&r1=1.67&r2=1.68

私の手元(i686-linux)では、

./ext/extmk.rb:247:in `Object#parse_args': undefined method `grep' for nil:NilClass (NoMethodError)
        from /home/matz/work/ruby/lib/optparse.rb:1262
        from /home/matz/work/ruby/lib/optparse.rb:1262:in `Proc#call'
        from /home/matz/work/ruby/lib/optparse.rb:1262:in `parse_in_order'
        from /home/matz/work/ruby/lib/optparse.rb:1249:in `catch'
        from /home/matz/work/ruby/lib/optparse.rb:1249:in `parse_in_order'
        from /home/matz/work/ruby/lib/optparse.rb:1242:in `order!'
        from /home/matz/work/ruby/lib/optparse.rb:1334:in `permute!'
        from /home/matz/work/ruby/lib/optparse.rb:1355:in `OptionParser#parse!'
        from ./ext/extmk.rb:258:in `parse_args'
        from ./ext/extmk.rb:293
make: *** [all] エラー 1

というエラーになってコンパイルが終りません(HEADも1.8も)。残念。