From: Roger Pack Date: 2009-05-10T06:39:38+09:00 Subject: Re: Ruby 1.9.1 and Mingw (on Windows) > Recently I wanted to see if I could safely move to Ruby 1.9.1, and > wanted to test my rails application for that, when I discovered that > Thin (which uses EventMachine) just hangs up after the first request. > This happens not just with my, but any rails application. During > investigation I found that: > > 1) EventMachine's test cases hang up immediately after starting. After some investigation, I have confirmed that mingw + 1.9 + EM is a no go currently. Seems to work all right with 1.8.6 + mingw + EM. I would recommend the pure ruby EM except it seems to leak on my machine. Another thing would be to use rev as a backend to EM. http://github.com/rogerdpack/rev/tree/master has the latest and greatest (that compiles on mingw 1.9) so I'd git clone it run rake package then install the .gem file it generates. Then it's require 'eventmachine' then require 'revem' # override EM to use rev + libev as the backend Let me know if you try it :) Cheers! -=r -- Posted via http://www.ruby-forum.com/.