# WEBrick - Illegal instruction

**URL:** <https://www.ruby-forum.com/t/webrick-illegal-instruction/150360>\
**Category:** Rails\
**Created:** [October 7, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/webrick-illegal-instruction/150360 "2008-10-07T18:52:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matte\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@matte\_S](https://www.ruby-forum.com/u/matte_S)\
**Post date:** [October 7, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/webrick-illegal-instruction/150360/1 "2008-10-07T18:52:10Z")

</div>

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](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](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  
`notes`e[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

---

<div class="post-metadata">

**Author:** ![matte\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/4da419/32.png) [@matte\_S](https://www.ruby-forum.com/u/matte_S)\
**Post date:** [October 7, 2008, 7:09pm UTC](https://www.ruby-forum.com/t/webrick-illegal-instruction/150360/2 "2008-10-07T19:09:34Z")

</div>

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

Regards.
