WEBrick - Illegal instruction


#1

Hi all, I had create a scaffold in a new rails app.
Just title:string and body:text for a Note scaffold.

The problem is that when I go to the new page
(http://0.0.0.0:3000/notes/new)
webrick crash and I can just see “Illegal instruction”.

=> Booting WEBrick…
=> Rails 2.1.1 application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-10-07 18:26:48] INFO WEBrick 1.3.1
[2008-10-07 18:26:48] INFO ruby 1.8.6 (2008-06-20) [i686-darwin9.4.0]
[2008-10-07 18:26:48] INFO WEBrick::HTTPServer#start: pid=49047
port=3000
Illegal instruction

Also from the log file I can’t understand the problem:

Processing NotesController#new (for 127.0.0.1 at 2008-10-07 18:42:33)
[GET]
Session ID:
BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
SGFzaHsABjoKQHVzZWR7AA==–18a4b097db1ebcb8c3c07661af0412c3c99ef005
Parameters: {“action”=>“new”, “controller”=>“notes”}
e[4;36;1mSQL (0.000207)e[0m e[0;1mSET NAMES 'utf8’e[0m
e[4;35;1mSQL (0.000145)e[0m e[0mSET SQL_AUTO_IS_NULL=0e[0m
e[4;36;1mNote Columns (0.002369)e[0m e[0;1mSHOW FIELDS FROM
notese[0m
Rendering template within layouts/notes
Rendering notes/new

I had update the gems system and I use Mac Leopard with mysql and ruby
1.8.6.
I’m surfing with google but till now no response.
Before the gems update no problem but I don’t used utf-8 before on local
and I don’t know if this is a problem.

Any help will be appreciate.

Sezenek


#2

Well, don’t works with MySQL: 5.0.41 with MAMP,
but works with MySQL 5.0.51b installed on my mac.

Regards.