Forum: Ruby on Rails WEBrick - Illegal instruction

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Matteo B. (Guest)
on 2008-10-07 20:52
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
webrick crash and I can just see "Illegal instruction".

=> Booting WEBrick...
=> Rails 2.1.1 application started on
=> 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
Illegal instruction

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

Processing NotesController#new (for at 2008-10-07 18:42:33)
  Session ID:
  Parameters: {"action"=>"new", "controller"=>"notes"}
  SQL (0.000207)   SET NAMES 'utf8'
  SQL (0.000145)   SET SQL_AUTO_IS_NULL=0
  Note Columns (0.002369)   SHOW FIELDS FROM
Rendering template within layouts/notes
Rendering notes/new

I had update the gems system and I use Mac Leopard with mysql and ruby
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.

Matteo B. (Guest)
on 2008-10-07 21:09
Well, don't works with MySQL: 5.0.41 with MAMP,
but works with MySQL 5.0.51b installed on my mac.

This topic is locked and can not be replied to.