# Beginner's Ruby Tutorial

**URL:** <https://www.ruby-forum.com/t/beginners-ruby-tutorial/157720>\
**Category:** Rails\
**Created:** [January 14, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/beginners-ruby-tutorial/157720 "2009-01-14T19:24:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![soup](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/977dab/32.png) [@soup](https://www.ruby-forum.com/u/soup)\
**Post date:** [January 14, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/beginners-ruby-tutorial/157720/1 "2009-01-14T19:24:49Z")

</div>

Hi

I am following the tutorial at

[http://rails.lighthouseapp.com/projects/8994/tickets/590-allow-setting-options-in-initialize\_schema\_migrations\_table](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](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](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
