From: "Kai König" Date: 2009-07-10T02:15:07+09:00 Subject: Re: Why is my server shutting down? --Apple-Mail-6-416741211 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable For some reason, however, it appears that Rails is unable to find a =20 required MySQL dll. The best fix I=92ve been able to find (ok, I admit =20= this is clunky, but anyhow it works) is to copy libmySQL.dll from your =20= MySQL binary directory (for example, C:\Program Files\MySQL\MySQL =20 Server 5.0\bin) into the Ruby binary directory (for example, C:\ruby=20 \bin). Restart your application (shut down and restart the server), =20 then try running it again. For me, that fixes the problem. cheers On 09.07.2009, at 14:10, Jason Cheung wrote: > I start the MySQL server with the "ruby script/server" command. > It loads fine. > When I go to localhost:3000, the server immediately shuts down and > throws out an error. It says: > C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.3.2\lib\active_record=20 > \connection_adapters\abstract_adapter.rb:39: > [BUG] Segmentation fault ruby 1.8.6 (2008-08-11) [i386-mswin32]. > I've been looking around online and many have the same error occuring. > I'm running mysql 5.0.83, rails 2.3.2, ruby 1.8.6 and rubygems 1.3.4. > > Can anybody help!? > Thanks, > Jay > --=20 > Posted via http://www.ruby-forum.com/. > --Apple-Mail-6-416741211--