From: Dejan Dimic Date: 2007-12-31T00:50:04+09:00 Subject: Re: still can't install mswin32 mongrel_service or fastthread On Dec 30, 5:59 am, Luis Lavena wrote: > On 30 dic, 02:22, "Jack Johnson" wrote: > > > I still can't get mongrel_service or fastthread to install on my WinXP SP2 > > ruby 1.8.6 system, although mongrel and several others have installed & > > updated OK. (Checking my notes, I'm also having the same problem updating > > win32-api & win32-service.) Any tips or insights appreciated. > > This has been reported many times, but again will put information of > this: > > mongrel_service (0.3.3) depends on win32-service, which was 0.5.2 at > the time the gem was created, but now is 0.6.0 > > The 0.6.0 gem is broken, and that should be reported to win32utils > guys or their tracker: > > http://rubyforge.org/projects/win32utils > > Technical details: gem was rubygems 0.9.5, which was broken under > windows. They need to fix this. > > I'm working on complete removal of win32-service dependency from > mongrel_service, but I'm overloaded with work and cannot commit to the > task right now. > > I suggest you install win32-service 0.5.2: > > gem uninstall win32-service > gem install win32-service -v '0.5.2' > > then try installing mongrel_service gem again. > > If that didn't work, you must revert to RubyGems 0.9.4 and install > everything there before, as described here: > > http://blog.mmediasys.com/2007/12/19/latest-rubygems-and-rails-is-a-d... > > > C:\Documents and Settings\Administrator>gem install fastthread > > Building native extensions. This could take a while... > > ERROR: Error installing fastthread: > > ERROR: Failed to build gem native extension. > > I've updated the fastthread gem on rubyforge a few weeks back and it > seems the changes didn't replicate to the rubyforge mirrors. > > please, manually download the gem from rubyforge: > > http://rubyforge.org/frs/?group_id=1306&release_id=15826 > > and install it locally: > > gem install fastthread-1.0.1-i386-mswin32.gem > > That should work. > > HTH, > > Luis Lavena By my experience there is two ways: First you can revert to gem 0.94 and then install mongrel_service witch is not what I like to do Second require that you have C++ compiler and linker in you path in order to build the native extensions. I have tried with different ones, but the MS Visual C++ 6.0 has done the trick.