RubyGems requesting win32/service on Red Hat Linux

Hi,

I successfully installed a RoR/Flex/Oracle application in a Windows
environment and am now in the process of trying the same in Linux.
Unfortunately, when I get to the part where I start Mongrel, I get the
following error message:

[root@localhost FDS_Server]# mongrel_rails start -e production -p 4001
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require’: no such file to load – win32/service
(LoadError)

I’ve seen something similar in Windows recently, where I’ve had to
install win32-service 0.5.2 as recommended by Luis L. (http://
Mongrel_Service Requires Win32-service | joe siao | Flickr), but this is a
brand new setup in Linux, rebuilt from source…

Here are a few details of my setup:

[root@localhost FDS_Server]# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
[root@localhost FDS_Server]# gem -v
1.2.0 [root@localhost FDS_Server]# rails -v
Rails 2.1.0

I’d appreciate any help on this. Thanks,

Chris.

On Fri, Sep 5, 2008 at 10:27 AM, gers32 [email protected] wrote:

`gem_original_require’: no such file to load – win32/service
ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-linux]
[root@localhost FDS_Server]# gem -v
1.2.0 [root@localhost FDS_Server]# rails -v
Rails 2.1.0

I’d appreciate any help on this. Thanks,

mongrel_service gem only works on Windows, not *nix.

The purpose of mongrel_service gem is allow running Rails applications
with Mongrel as service under Windows.

Remove mongrel_service gem and it should start properly.


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

Thank you Luis, I massaged my Windows installation procedure to work
with Linux, not realizing mongrel_service was specific to Windows.

Cheers,

Chris.