Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > problem running mongrel on win32

Reply
Thread Tools

problem running mongrel on win32

 
 
adam.blum@gmail.com
Guest
Posts: n/a
 
      12-05-2006
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 Cohen and Daniel Berger 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mongrel service vs mongrel in command shell rabarama Ruby 1 12-15-2009 12:46 PM
[ANN] Mongrel Web Server 0.3.12.2 -- Iron Mongrel (Parser Fix) Zed Shaw Ruby 8 04-05-2006 06:32 AM
Mongrel Web Server 0.3.12.1 -- Iron Mongrel Zed Shaw Ruby 3 04-05-2006 06:31 AM
Mongrel Web Server 0.3.11 -- Edge Rails and Win32 Compliant Zed Shaw Ruby 1 03-16-2006 02:41 AM
[ANN] Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper Zed Shaw Ruby 3 02-18-2006 01:12 AM



Advertisments