As I’m currently without a fulltime project for a customer I’m trying to learn something completely new, Ruby on Rails. On the blog (which hasn’t been updated for years), I’ll share some pains and pleasures in this new adventure.
Ruby on Rails is probably not the best development platform to install on Windows. But my home development machine has Windows 7 installed on it, so I decided to install Ruby on Rails on this machine instead of my Macbook Pro.
I’m building a site with some some images on a single page and the images have the src attribute pointed to a controller of the same application.
When I was developing the site, I first used Webrick as webserver, Webrick crashed a lot of times and some research on the web learned me that I should use another webserver. I decided to use Mongrel. But Mongrel also crashed, so after a few days of frustration, I decided to do some more research.
The Windows event viewer told me the following information:
Faulting application name: ruby.exe, version: 1.9.2.180, time stamp: 0x4d5ee5ed
Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time stamp: 0x4d5ee5ec
Exception code: 0xc0000005
Fault offset: 0x0011a00e
Faulting process id: 0x14a0
Faulting application start time: 0x01cc117a0ec2f93f
Faulting application path: c:\Ruby192\bin\ruby.exe
Faulting module path: c:\Ruby192\bin\msvcrt-ruby191.dll
Report Id: f002aeff-7d6d-11e0-b6c8-001018657acb
I copied and paste the information into Google, but nothing useful came up, I found that some people had the same problem, but there was no solution available.
I decided to downgrade my Ruby version to 1.8.7, a version which also is good enough for Rails 3 applications and the problem was gone. So it seems that there’s a problem in Ruby 1.9.2 on Windows.
I don’t have any clue what the problem is, as I’m an inexperienced RoR developer, I didn’t care to downgrade the application to 1.8.7. The frustration of crashes is gone now and I’m starting to be a happy RoR developer.
Recent Comments