mongrelの入替え
MySQLを入替えたついでに、mongrelもupdateしておく。gem updateの手順に従っただけなんだけど、もしかするといままで mongrelは入っておらず、この操作で新規インストールされたかも。てっきり入れたとばっかり思っていたんだけど、いままで「ruby script/server」で WEBrickが普通に立ち上がってきていたので、いままで入っていなかった可能性大。
インストール
C:\> gem update mongrel Updating installed gems... Attempting remote update of mongrel Select which gem to install for your platform (i386-mswin32) 1. mongrel 1.1.4 (ruby) 2. mongrel 1.1.4 (java) 3. mongrel 1.1.4 (x86-mswin32-60) 4. mongrel 1.1.3 (java) 5. mongrel 1.1.3 (i386-mswin32) 6. mongrel 1.1.3 (ruby) 7. Skip this gem 8. Cancel installation > 3 Install required dependency gem_plugin? [Yn] Y Install required dependency cgi_multipart_eof_fix? [Yn] Y Successfully installed mongrel-1.1.4-x86-mswin32-60 Successfully installed gem_plugin-0.2.3 Successfully installed cgi_multipart_eof_fix-2.5.0 Installing ri documentation for mongrel-1.1.4-x86-mswin32-60... Installing ri documentation for gem_plugin-0.2.3... Installing ri documentation for cgi_multipart_eof_fix-2.5.0... Installing RDoc documentation for mongrel-1.1.4-x86-mswin32-60... Installing RDoc documentation for gem_plugin-0.2.3... Installing RDoc documentation for cgi_multipart_eof_fix-2.5.0... Gems: [mongrel] updated
MySQLの場合と同じく、ここでも 1と 3で迷うとこだが、Windowsパッケージにしておく。そのあとの質問はNoにするとどうなるのかが把握できていないので、YESで。無事、インストール完了。「ruby script/server」で WEBrickじゃなくて、mongrelが起動してきます。