Beginner's Ruby Tutorial

Hi

I am following the tutorial at

http://rails.lighthouseapp.com/projects/8994/tickets/590-allow-setting-options-in-initialize_schema_migrations_table

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:
SHOW TABLES

(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 http://0.0.0.0:3000
=> 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
127.0.0.1 - - [14/Jan/2009:13:04:17 Eastern Standard Time] “GET / HTTP/
1.1” 304
0

  • → /
    c:/rubyinstall/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
    active_suppor
    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?

Thanks