Forum: Ruby on Rails WEBrick - Illegal instruction

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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
(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"}
  SQL (0.000207)   SET NAMES 'utf8'
  SQL (0.000145)   SET SQL_AUTO_IS_NULL=0
  Note Columns (0.002369)   SHOW FIELDS FROM
`notes`
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
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.

Regards.
This topic is locked and can not be replied to.