I am running the new ruby installer and I installed the several win32utils after mongrel complained about win32-service. But even after that I am unable to start mongrel. That''s the error: ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins Exiting c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb: 372:in `trap'': unsupported signal SIGUSR1 (ArgumentError) from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/con figurator.rb:372:in `setup_signals'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/../lib/mong rel/rails.rb:174:in `setup_rails_signals'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rai ls:124:in `cloaker_'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/con figurator.rb:149:in `call'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/con figurator.rb:149:in `listener'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/mongrel_rai ls:99:in `cloaker_'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/con figurator.rb:50:in `call'' from c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/con figurator.rb:50:in `initialize'' ... 14 levels... from c:/ruby18/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39 from c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_origin al_require'' from c:/ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from script/server:3 -- []''s Fabio Akita (www.akitaonrails.com) Ruby on Rails Product Manager Locaweb - Keep IT Simple.
On Mon, Jul 28, 2008 at 11:34 PM, Fabio Akita <fabioakita at gmail.com> wrote:> I am running the new ruby installer and I installed the several > win32utils after mongrel complained about win32-service. But even > after that I am unable to start mongrel. That''s the error: >The problem is that you forced the installation of mongrel with platform mswin32 and at that time 1.1 was full of problems related to MinGW. I backported the fixes from 1.2 branch into 1.1 and released a binary 1.1.5 mingw32 version of the gem. You can now safely remove that gem and install mongrel with "gem install mongrel" and will install the mingw build instead.> c:/ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/mongrel/configurator.rb: > 372:in `trap'': unsupported signal SIGUSR1 (ArgumentError)Moreover, you must be careful about forcing the installation of gems not built for the specific platform. Even mswin32 states is 100% compatible with mingw32, they sometimes segfaults. win32-service is mongrel_service depedency and not mongrel itself, you can force mongrel_service to install without issues since it doesn''t contain any regexp related to RUBY_PLATFORM (which was the problem you''re getting before). HTH, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams