Beginner's Ruby Tutorial


I am following the tutorial at

I am using Rails 2.2.2 and Ruby 1.8.6

I am getting the following error:

C:\rubyproj\blog>rake db:migrate
(in C:/rubyproj/blog)
rake aborted!
Mysql::Error: Commands out of sync; you can’t run this command now:

(See full trace by running task with --trace)

Also when I go to http://localhost:3000
the server is terminating with segmentation fault.

C:\rubyproj\blog>ruby script/server
=> Booting WEBrick…
=> Rails 2.2.2 application started on
=> Ctrl-C to shutdown server; call with --help for options
[2009-01-14 13:04:17] INFO WEBrick 1.3.1
[2009-01-14 13:04:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2009-01-14 13:04:17] INFO WEBrick::HTTPServer#start: pid=2144
port=3000 - - [14/Jan/2009:13:04:17 Eastern Standard Time] “GET / HTTP/
1.1” 304

  • -> /
    t/core_ext/symbol.rb:11: [BUG] Segmentation fault
    ruby 1.8.6 (2007-09-24) [i386-mswin32]

This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application’s support team for more information.

Any help please?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs