views:

39

answers:

0

Hi,

I am working on Windows XP machine. I have started to create an application in rails but I am getting Segmentation fault error. Below are the ruby & rails version I am using.

C:\Ruby>ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

C:\Ruby>rails -v
Rails 2.3.8

When ever I run the server, I am getting this error.

C:\Ruby\book_shelf>ruby script/server
=> Booting Mongrel
=> Rails 2.3.8 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
C:/Ruby/lib/ruby/1.8/benchmark.rb:306: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

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

Even when I use rake, I am getting this Segmentation Error.

C:\Ruby\book_shelf>rake db:create:all
(in C:/Ruby/book_shelf)
C:/Ruby/lib/ruby/1.8/benchmark.rb:306: [BUG] Segmentation fault
ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]

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

I tried to clear the cache in the computer, I still dont know who to get rid of this segmentation error.

Looking forward for your help and support

Thanks