I installed apache and MySQL on my Windows XP laptop by using WampServer.  It’s convenient for setting up a local development environment.

I’m creating a Rails application and ran “rake db:migrate” to create the database tables for my project.  When I did so, I got the following:

rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
C:/Program Files/ruby/lib/ruby/1.8/benchmark.rb:306: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

This was a bit of a thorny problem.  Fortunately, stackoverflow.com user “blue_rubber_ducky” found the answer and posted it in this thread.  Thanks to the author “protech_v2″ who posted to the aptana forum and to blue_rubber_ducky for updating the original post on stackoverflow.