Custom_require.rb:27:in `gem_original_require': no such file

Hi, maybe that’s a lame question but it’s hard to find about’t.
I don’t know what is happening but my mongrel just don’t start, I’m
using:

RubyGems Environment:

  • RUBYGEMS VERSION: 1.2.0
  • RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32]
  • INSTALLATION DIRECTORY: C:/Ruby18/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: C:/Ruby18/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Ruby18/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-mingw32
  • GEM PATHS:
    • C:/Ruby18/lib/ruby/gems/1.8
    • C:/Users/FullMetal Alchemist/.gem/ruby/1.8
  • GEM CONFIGURATION:
  • REMOTE SOURCES:

C:\projects\blogsys>ruby script\server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails 2.1.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_ require': no such file to load -- win32/service (MissingSourceFile) from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup
port/dependencies.rb:509:in require' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:354:in new_constants_in’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup
port/dependencies.rb:509:in require' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel_service-0.1/lib/mongrel_se rvice/init.rb:5 from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require’
from
C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' from C:/Ruby18/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_sup port/dependencies.rb:509:inrequire’
… 17 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_original_require' from C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from script/server:3

I’ve just installed the new version of ruby one click installer, and
since that i just can’t start mongrel, which I believe could be a
windows compability problem, please help me

The answer is in the dump from Mongrel startup:

`gem_original_require’: no such file to load – win32/service
(MissingSourceFile)

Try installing the win32-service gem.

Will G. wrote:

The answer is in the dump from Mongrel startup:

`gem_original_require’: no such file to load – win32/service
(MissingSourceFile)

Try installing the win32-service gem.

thanks man, I somehow was with the service version 0.0.1, now I
installed the mswin32 up to date version and I’m receiving a new error:

=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails 2.1.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** 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/config
urator.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/m ongrel/configurator.rb:372:in setup_signals’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/.
./lib/mongrel/rails.rb:174:in setup_rails_signals' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/m ongrel_rails:124:in cloaker_’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m
ongrel/configurator.rb:149:in call' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:149:in listener’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/bin/m
ongrel_rails:99:in cloaker_' from C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m ongrel/configurator.rb:50:in call’
from
C:/Ruby18/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/m
ongrel/configurator.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_original_require’
from
C:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `
require’
from script/server:3

maybe I should use other version of mongrel?
thanks for the help

On Sun, Aug 10, 2008 at 5:11 PM, Luiz B. [email protected]
wrote:

urator.rb:372:in `trap’: unsupported signal SIGUSR1 (ArgumentError)
from

Can you tell us which version of Ruby and RubyGems you have installed?

Looks like is trying to setup signals not support on Windows (SIGUSR1).

Is just me or you’ve installed mongrel with --platform=mswin32 during
the gem installation? That is plain wrong.

You should install the gem available for your platform, which I think
is mingw32.


Luis L.
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

Luis L. wrote:

On Sun, Aug 10, 2008 at 5:11 PM, Luiz B. [email protected]
wrote:

You should install the gem available for your platform, which I think
is mingw32.

I followed Akita’s explanation, and that was wrong now I could do it,
following your blog recomendations thank you!