Forum: Mongrel custom_require.rb:27:in `gem_original_require': no such file

2f8a49dedb619fe0b44f0b8728c6a900?d=identicon&s=25 Luiz Biagi (luizbiagi)
on 2008-08-10 03:28
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:
     - :update_sources => true
     - :verbose => true
     - :benchmark => falsego
     - :backtrace => false
     - :bulk_threshold => 1000
     - :sources => ["http://gems.rubyforge.org",
"http://gems.github.com"]
  - REMOTE SOURCES:
     - http://gems.rubyforge.org
     - http://gems.github.com
i'm using windows vista too, and when i'm tryingh to start mongrel I
get:

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:in `require'
         ... 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
5765893020bd1fada123436b9f75baee?d=identicon&s=25 Will Green (Guest)
on 2008-08-10 05:26
(Received via mailing list)
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.
2f8a49dedb619fe0b44f0b8728c6a900?d=identicon&s=25 Luiz Biagi (luizbiagi)
on 2008-08-10 17:11
Will Green 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
E7cff3cfd41c495e1012227d7dc24202?d=identicon&s=25 Luis Lavena (luislavena)
on 2008-08-10 22:23
(Received via mailing list)
On Sun, Aug 10, 2008 at 5:11 PM, Luiz Biagi <lists@ruby-forum.com>
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 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
2f8a49dedb619fe0b44f0b8728c6a900?d=identicon&s=25 Luiz Biagi (luizbiagi)
on 2008-08-10 23:45
Luis Lavena wrote:
> On Sun, Aug 10, 2008 at 5:11 PM, Luiz Biagi <lists@ruby-forum.com>
> 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!
This topic is locked and can not be replied to.