# Problem running mongrel on win32

**URL:** <https://www.ruby-forum.com/t/problem-running-mongrel-on-win32/78424>\
**Category:** Ruby\
**Created:** [December 5, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/problem-running-mongrel-on-win32/78424 "2006-12-05T18:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [December 5, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/problem-running-mongrel-on-win32/78424/1 "2006-12-05T18:32:10Z")

</div>

mongrel fails to start with the error below on my win32 box (needs  
win32/service). But I do have the win32gem install win32-service sits  
there forever (hours) while “building native extensions” which I  
abovrt. The shared object for win32-service (service-0.5.2-vc6.so)  
is available though, so presumably I don’t need the win32-service gem?

I have seen a recent thread by Jeff C. and Daniel B. with a  
similar (identical) issue. But I didn’t really see a resolution of  
this. Supposedly I shouldn’t need the win32-service gem because I  
have the shared object. If I do need the gem, I have a similar problem  
building the gem because my C compiler (latest Visual Studio) can’t  
compile the gem (service.c fails with “bad program database”).

Thanks in advance for any ideas.

- Adam

"C:\rails\rails\_apps\sms\>mongrel\_rails start -d  
C:/rails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_origi nal_require': no such file to load -- win32/service (LoadError) from C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: in`require’  
from  
C:/rails/ruby/lib/ruby/gems/1.8/gems/mongrel\_service-0.1/lib/mongre  
l\_service/init.rb:5  
from  
C:/rails/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:  
in `gem_original_require' from C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27: in`require’  
from  
C:/rails/ruby/lib/ruby/gems/1.8/gems/gem\_plugin-0.2.1/lib/gem\_plugi  
n.rb:130:in `load' from C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:142:i n`each’  
from  
C:/rails/ruby/lib/ruby/site\_ruby/1.8/rubygems/source\_index.rb:142:i  
n `each' from C:/rails/ruby/lib/ruby/gems/1.8/gems/gem_plugin-0.2.1/lib/gem_plugi n.rb:112:in`load’  
from  
C:/rails/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/bin/m  
ongrel\_rails:191  
from C:/rails/ruby/bin/mongrel\_rails:18:in `load’  
from C:/rails/ruby/bin/mongrel\_rails:18
