Ruby 1.9 $B$G(B ruby 1.9 $B$O%3%s%Q%$%k$G$-$J$+$C$?(B

e$B3’$5$s!"$3$s$K$A$O!#e(B

e$B:#D+e(B ruby-core e$B$G!"&K$J$I$rJQ?t$K;H$&$K$O:G?7$Ne(B 1.9
e$B$N%P!<%8%g%s$,e(B
e$BI,MW$H8@$o$l!"Fs=54V$V$j$Ke(B svn -up e$B$7$^$7$?!#e(B

e$B$=$3$+$i%3%s%Q%$%k$7$?$i!"<!$N$H$3$m$G0z$C$+$+$j$^$7$?e(B:

rm -f ruby.exe
ruby ./tool/insns2vm.rb --srcdir=“.”
/usr/local/lib/ruby/1.9/erb.rb:412:in initialize': wrong argument type StringScanner (not encode capable) (TypeError) from /usr/local/lib/ruby/1.9/erb.rb:412:in new’
from /usr/local/lib/ruby/1.9/erb.rb:412:in scan' from /usr/local/lib/ruby/1.9/erb.rb:524:in compile’
from /usr/local/lib/ruby/1.9/erb.rb:691:in initialize' from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:675:in new’
from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:675:in
generate' from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1317:in block
in generate’
from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1316:in each' from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1316:in generate’
from ./tool/insns2vm.rb:14:in `’
make: *** [optinsn.inc] Error 1

e$B!Ve(Bnot encode capablee$B!W$Oe(B encoding.c
e$B4X78$G!"AjEv$$$6$C$Q$K8@$&$He(B
duck typing e$B$G!V2?$r2?$H$bE,Ev$KAH$_9g$o$;$k!W$He(B encoding
e$B$N:Y$+$$e(B
e$B%A%‘%C%/$O$?$^$K0z$C$+$+$k$N$G$O$J$$$+$H$$$&0u>]$,$7$^$9!#L^O@>e5-e(B
e$B$NLdBj6I=jE*$J=$@5$GD>$k$H5’$C$F$$$^$9$,!"e(Bvm/instruction.rm
e$B$Ne(B
e$B>$7$$J}$K$^$+$;$^$9!#e(B

e$B<+J,$N$H$3$m$N2r7h:v$H$7$F!"e(BPATH e$B$NA`:n$G0l;~4|$Ke(B /usr/bin
e$B$Ne(B 1.8.6
e$B$KLa$7$?$ie(B (1.9 e$B$Oe(B /usr/local/bin)
e$B$&$^$/9T$-$^$7$?$,!"IaDL$Oe(B Ruby
e$B$N%3%s%Q%$%k$Oe(B 1.9 e$B$G$b$G$-$k$h$&$K$7$?$$$h$&$J5$$,$7$^$9!#e(B

e$B59$7$/$*4j$$$7$^$9!#e(B Martin.

#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:[email protected]

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:31887] ruby 1.9 e$B$Ge(B ruby 1.9
e$B$O%3%s%Q%$%k$G$-$J$+$C$?e(B”
on Fri, 28 Sep 2007 17:38:17 +0900, Martin D.
[email protected] writes:

|e$B$=$3$+$i%3%s%Q%$%k$7$?$i!“<!$N$H$3$m$G0z$C$+$+$j$^$7$?e(B:
|
|rm -f ruby.exe
|ruby ./tool/insns2vm.rb --srcdir=”."
|/usr/local/lib/ruby/1.9/erb.rb:412:in initialize': wrong argument type StringScanner (not encode capable) (TypeError) | from /usr/local/lib/ruby/1.9/erb.rb:412:in new’
| from /usr/local/lib/ruby/1.9/erb.rb:412:in scan' | from /usr/local/lib/ruby/1.9/erb.rb:524:in compile’
| from /usr/local/lib/ruby/1.9/erb.rb:691:in initialize' | from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:675:in new’
| from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:675:in generate' | from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1317:in block in generate’
| from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1316:in each' | from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:1316:in generate’
| from ./tool/insns2vm.rb:14:in `’
|make: *** [optinsn.inc] Error 1

e$B@hDxe(Bencodinge$BHf3Se(B(rb_enc_check)e$B$rH4K\E*$K=$@5$7$F%3%_%C%H$7$^e(B
e$B$7$?e(B(r13546)e$B!#$H$$$&$+!“:#$^$G$N%A%'%C%/$,$”$^$j$KIT40A4$G$7e(B
e$B$?!#$3$l$G$&$^$/$$$/$h$&$J5$$,$7$F$$$^$9!#e(B

e$B$^$D$b$H$5$s!"$3$s$K$A$O!#e(B

e$BAGAa$$JV;v$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#e(B

At 18:09 07/09/28, Yukihiro M. wrote:

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:31887] ruby 1.9 e$B$Ge(B ruby 1.9 e$B$O%3%s%Q%$%k$G$-$J$+$C$?e(B”
on Fri, 28 Sep 2007 17:38:17 +0900, Martin D.
[email protected] writes:

|e$B$=$3$+$i%3%s%Q%$%k$7$?$i!"<!$N$H$3$m$G0z$C$+$+$j$^$7$?e(B:

e$B@hDxe(Bencodinge$BHf3Se(B(rb_enc_check)e$B$rH4K\E*$K=$@5$7$F%3%_%C%H$7$^e(B
e$B$7$?e(B(r13546)e$B!#$H$$$&$+!“:#$^$G$N%A%'%C%/$,$”$^$j$KIT40A4$G$7e(B
e$B$?!#$3$l$G$&$^$/$$$/$h$&$J5$$,$7$F$$$^$9!#e(B

r13547 e$B$G$b$&0lEY$d$C$F$$F!"$b$&0lEY<:GT$7$^$7$F!"e(B
e$B$b$&0l2se(B PATH e$B5;$G%3%s%Q%$%k$7$F$
$^$7$?!#e(B
e$B$3$N;~$Ne(B Ruby e$B$O$^$@e(B r13547 e$B%Y!<%9$N$b$N$G$O$J$$$N$G!“e(B
e$B:#LdBj$,D>$C$?$+$I$&$+H=CG$9$k$?$a$Ke(B make clean; make
e$B$7$^$7$?$,!”:FEYF1$8$H$3$m$G0z$C$+$+$j$^$7$?!#e(B

e$B59$7$/$*4j$$$7$^$9!#e(B Martin.

#-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
#-#-# http://www.sw.it.aoyama.ac.jp mailto:[email protected]

e$B$J$+$@$G$9!#e(B

At Fri, 28 Sep 2007 17:38:17 +0900,
Martin D. wrote in [ruby-dev:31887]:

e$B$=$3$+$i%3%s%Q%$%k$7$?$i!"<!$N$H$3$m$G0z$C$+$+$j$^$7$?e(B:

rm -f ruby.exe
ruby ./tool/insns2vm.rb --srcdir="."
/usr/local/lib/ruby/1.9/erb.rb:412:in initialize': wrong argument type StringScanner (not encode capable) (TypeError) from /usr/local/lib/ruby/1.9/erb.rb:412:innew’
from /usr/local/lib/ruby/1.9/erb.rb:412:in scan' from /usr/local/lib/ruby/1.9/erb.rb:524:incompile’
from /usr/local/lib/ruby/1.9/erb.rb:691:in initialize' from /cygdrive/d/ruby/trunk/lib/vm/instruction.rb:675:innew’

e$B%$%s%9%H!<%k:Q$_$Ne(Berb.rbe$B$,FI$_9~$^$l$F$$$k$N$G!"e(Bstrscan.soe$B$b8E$$e(B
e$B$b$N$,;H$o$l$F$$$k$N$G$O$J$$$+$H;W$$$^$9!#e(B