# Ruby1.8.7 $B$G(B Rails2.0.2 $B$,F0$+$J$$(B

**URL:** <https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585>\
**Category:** Development\
**Created:** [June 5, 2008, 7:03am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585 "2008-06-05T07:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8edcca/32.png) [@okkez](https://www.ruby-forum.com/u/okkez)\
**Post date:** [June 5, 2008, 7:03am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585/1 "2008-06-05T07:03:14Z")

</div>

okkez e$B$G$9!#e(B

Ruby1.8.7 e$B$Ge(B Rails 2.0.2 e$B$,F0$-$^$;$s!#e(B

# e$B\<+J,$G%S%k%I$7$?$N$He(B Debian e$B$N%Q%C%1!\<%8$r;n$7$^$7$?!#e(B

e$B0J2\<$G:F8=$9$k$H;W$$$^$9!#e(B

$ rails _2.0.2_ hoge  
$ cd hoge  
$ script/generate scaffold post title:string body:string  
published:boolean  
$ rake db:migrate  
$ script/server

e$B$G%&%'%V%V%i%&%6$+$ie(B  
[http://localhost:3000/posts/new](http://localhost:3000/posts/new)  
e$B$K%"%/%;%9$9$k$He(B Internal Server Error e$B$K$J$j$^$9!#e(B

Rails2.1.0 e$B$@$H:F8=$;$:!"$-$A$s$HF0$-$^$9!#e(B  
e$B$^$?e(B Ruby1.8.6 e$B$He(B Rails2.0.2  
e$B$NAH$\_9g$o$;$b$-$A$s$HF0$/$N$O3NG’:Q$G$9!#e(B

# e$B8^7nCf$O$=$NAH$\_9g$o$;$G%3!\<%I=q$$$F$$$?$N$G!#e(B

# Ruby1.8.6/Rails2.1.0 e$B$NAH$\_9g$o$;$O;n$;$F$$$^$;$s!#!#!#e(B

RAILS\_ROOT/log/development.log  
e$B$NFbMF$O$A$g$C$HD9$$$G$9$,!"0J2\<$NDL$j$G$9!#e(B

/!\ FAILSAFE /!\ Thu Jun 05 13:32:23 +0900 2008  
Status: 500 Internal Server Error  
wrong number of arguments (2 for 1)  
/usr/lib/ruby/1.8/cgi/session.rb:267:in `respond_to?' /usr/lib/ruby/1.8/cgi/session.rb:267:in `initialize\_without\_cgi\_reader’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/cgi\_ext/session.rb:39:in  
`initialize' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:130:in `new’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/cgi\_process.rb:130:in  
`session' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/cgi_process.rb:166:in `stale\_session\_check!’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/cgi\_process.rb:114:in  
`session' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:1131:in `assign\_shortcuts\_without\_flash’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/flash.rb:167:in  
`assign_shortcuts' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/base.rb:518:in `process\_without\_filters’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/filters.rb:685:in  
`process_without_session_management_support' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/session_management.rb:123:in `process’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/base.rb:388:in  
`process' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:171:in `handle\_request’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/dispatcher.rb:115:in  
`dispatch' /home/okkez/.gems/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:126:in `dispatch\_cgi’  
/home/okkez/.gems/gems/actionpack-2.0.2/lib/action\_controller/dispatcher.rb:9:in  
`dispatch' /home/okkez/.gems/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process’  
/home/okkez/.gems/gems/mongrel-1.1.5/bin/…/lib/mongrel/rails.rb:74:in  
`synchronize' /home/okkez/.gems/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:159:in  
`process_client' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:158:in  
`process_client' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:285:in  
`initialize' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in  
`run' /home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in  
`run' /home/okkez/.gems/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run’  
/home/okkez/.gems/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in  
`run' /home/okkez/.gems/gems/mongrel-1.1.5/bin/mongrel_rails:281 /home/okkez/.gems/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load’  
/home/okkez/.gems/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:489:in  
`load' /home/okkez/.gems/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new\_constants\_in’  
/home/okkez/.gems/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:489:in  
`load' /home/okkez/.gems/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem\_original\_require’  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' /home/okkez/.gems/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require’  
/home/okkez/.gems/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:342:in  
`new_constants_in' /home/okkez/.gems/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require’  
/home/okkez/.gems/gems/rails-2.0.2/lib/commands/server.rb:39  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require' /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require’  
script/server:3

e$BB\>$K2?$+I,MW$J\>pJs$,$"$l$P65$($F$/$@$5$$!#e(B  
e$B%a!\<%k$r=q$$$F$kESCf$Ge(B  
[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484351](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484351)  
e$B$3$s$J\>pJs$r8+$D$1$^$7$?!"e(BRails  
e$B$N%P!\<%8%g%s$r\>e$2$k$Y$-$J$N$G$7$g$&$+!)e(B

e$B$h$m$7$/$\*4j$$$7$^$9!#e(B

---

<div class="post-metadata">

**Author:** ![okkez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8edcca/32.png) [@okkez](https://www.ruby-forum.com/u/okkez)\
**Post date:** [June 5, 2008, 7:14am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585/2 "2008-06-05T07:14:23Z")

</div>

At Thu, 5 Jun 2008 14:01:19 +0900,  
okkez wrote:

> ã§ã‚¦ã‚§ãƒ–ãƒ–ãƒ©ã‚¦ã‚¶ã‹ã‚‰  
> [http://localhost:3000/posts/new](http://localhost:3000/posts/new)  
> ã«ã‚¢ã‚¯ã‚»ã‚¹ã™ã‚‹ã¨ Internal Server Error ã«ãªã‚Šã¾ã™ã€‚
> 
> Rails2.1.0 ã ã¨å†ç¾ã›ãšã€ãã¡ã‚“ã¨å‹•ãã¾ã™ã€‚  
> ã¾ãŸ Ruby1.8.6 ã¨ Rails2.0.2 ã®çµ„ã¿åˆã‚ã›ã‚‚ãã¡ã‚“ã¨å‹•ãã®ã¯ç¢ºèªæ¸ˆã§ã™ã€‚

ã€€preview4å¾Œã«é©ç”¨ã—ãŸ Marshal ã®ãƒã‚°ä¿®æ­£ã«ã‚ˆã£ã¦é¡•åœ¨åŒ–ã—ã¦ã—ã¾ã£ãŸ  
delegate ãƒ©ã‚¤ãƒ–ãƒ©ãƒªã®ãƒã‚°(å¼•æ•°ã®å®Ÿè£…æ¼ã‚Œ)ã§ã€ãƒªãƒªãƒ¼ã‚¹ç›´å¾Œã«ä¿®æ­£ã¯  
commitã—ã¦ã„ã¾ã™ã€‚

[http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby\_1\_8\_7/lib/delegate.rb?r1=16732&r2=16756](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/lib/delegate.rb?r1=16732&r2=16756)

ã€€ã©ã“ã‹ã®ã‚¿ã‚¤ãƒŸãƒ³ã‚°ã§ 1.8.7-pN ã‚’å‡ºã—ã¾ã™ã€‚ãŠæ€¥ãŽã®å ´åˆã¯ ruby\_1\_8\_7  
ãƒ–ãƒ©ãƒ³ãƒã‚’ãƒã‚§ãƒƒã‚¯ã‚¢ã‚¦ãƒˆã—ã¦ä½¿ã£ã¦ãã ã•ã„ã€‚

---

<div class="post-metadata">

**Author:** ![okkez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8edcca/32.png) [@okkez](https://www.ruby-forum.com/u/okkez)\
**Post date:** [June 5, 2008, 8:18am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585/3 "2008-06-05T08:18:22Z")

</div>

okkez e$B$G$9!#e(B

2008/06/05 14:13 Akinori MUSHA [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> > $ script/server  
> > commite$B$7$F$$$^$9!#e(B
> 
> [http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby\_1\_8\_7/lib/delegate.rb?r1=16732&r2=16756](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/lib/delegate.rb?r1=16732&r2=16756)
> 
> e$B$I$3$+$N%?%$%\_%s%0$Ge(B 1.8.7-pN e$B$r=P$7$^$9!#$\*5^$.$N\>l9g$Oe(B ruby\_1\_8\_7  
> e$B%V%i%s%A$r%A%'%C%/%"%&%H$7$F;H$C$F$/$@$5$$!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!#e(B  
e$B;H$o$;$F$$$?$@$-$^$9!#e(B

---

<div class="post-metadata">

**Author:** ![okkez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8edcca/32.png) [@okkez](https://www.ruby-forum.com/u/okkez)\
**Post date:** [June 6, 2008, 3:16pm UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585/4 "2008-06-06T15:16:44Z")

</div>

At Fri, 6 Jun 2008 18:37:15 +0900,  
(æ ª)ãƒãƒƒãƒˆãƒ•ã‚©ãƒ¬ã‚¹ãƒˆ æ¤ç”°è£•ä¹‹ wrote:

> ã€€ã¾ã ã‚ã¾ã‚Š 1.8.7 ã‚’è©¦ã—ãŸæ–¹ãŒå°‘ãªã„ã‚“ã§ã—ã‚‡ã†ã‹ï¼Ÿ æ—©ã„ã†ã¡ã« -pX ã‚’å‡º  
> ã—ãŸæ–¹ãŒè‰¯ã•ãã†ã«æ€ã„ã¾ã™ãŒ…

ã€€ã„ãã¤ã‹æ‡¸æ¡ˆãŒã‚ã£ãŸ(ã¾ã ã‚ã‚‹)ã®ã§å†…å®¹ã®æ¤œè¨Žã¨ã‚¹ã‚±ã‚¸ãƒ¥ãƒ¼ãƒ«ã®  
èª¿æ•´ã‚’è¡Œã£ã¦ã„ã¾ã—ãŸãŒã€ä»Šé€±æœ«ã«ãƒ‘ãƒƒãƒãƒªãƒªãƒ¼ã‚¹ã‚’å‡ºã™äºˆå®šã§ã™ã€‚

---

<div class="post-metadata">

**Author:** ![okkez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/8edcca/32.png) [@okkez](https://www.ruby-forum.com/u/okkez)\
**Post date:** [June 6, 2008, 11:39am UTC](https://www.ruby-forum.com/t/ruby1-8-7-b-g-b-rails2-0-2-b-f0-j-b/139585/5 "2008-06-06T11:39:16Z")

</div>

e$B?"ED$H?=$7$^$9!#e(B

> okkez e$B$G$9!#e(B
> 
> 2008/06/05 14:13 Akinori MUSHA [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> > At Thu, 5 Jun 2008 14:01:19 +0900,  
> > okkez wrote:
> > 
> > > Ruby1.8.7 e$B$Ge(B Rails 2.0.2 e$B$,F0$-$^$;$s!#e(B  
> > > ;  
> > > Rails2.1.0 e$B$@$H:F8=$;$:!"$-$A$s$HF0$-$^$9!#e(B  
> > > e$B$^$?e(B Ruby1.8.6 e$B$He(B Rails2.0.2 e$B$NAH$\_9g$o$;$b$-$A$s$HF0$/$N$O3NG’:Q$G$9!#e(B

e$B!!:#99$J$s$G$9$,e(B ruby 1.8.7 + Rails 1.2.6  
e$B$G$b$3$NLdBj$,H/@8$7$^$7$?!#$Ge(B

> e$B!!e(Bpreview4e$B8e$KE,MQ$7$?e(B Marshal e$B$N%P%0=$@5$K$h$C$F82:\_2=$7$F$7$^$C$?e(B  
> delegate e$B%i%$%V%i%j$N%P%0e(B(e$B0z?t$N\<BAuO3$le(B)e$B$G!"%j%j!\<%9D\>8e$K=$@5$Oe(B  
> commite$B$7$F$$$^$9!#e(B
> 
> [http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby\_1\_8\_7/lib/delegate.rb?r1=16732&r2=16756](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/lib/delegate.rb?r1=16732&r2=16756)

e$B$3$N=$@5$GD\>$j$^$7$?!#e(B

e$B!!$^$@$"$^$je(B 1.8.7 e$B$r;n$7$?J}$,\>/$J$$$s$G$7$g$&$+!)e(B  
e$BAa$$$&$A$Ke(B -pX e$B$r=Pe(B  
e$B$7$?J}$,NI$5$=$&$K;W$$$^$9$,e(B…
