# RubyGems requesting win32/service on Red Hat Linux

**URL:** <https://www.ruby-forum.com/t/rubygems-requesting-win32-service-on-red-hat-linux/147897>\
**Category:** Deployment\
**Created:** [September 6, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/rubygems-requesting-win32-service-on-red-hat-linux/147897 "2008-09-06T18:56:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gers32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ed8c4c/32.png) [@gers32](https://www.ruby-forum.com/u/gers32)\
**Post date:** [September 6, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/rubygems-requesting-win32-service-on-red-hat-linux/147897/1 "2008-09-06T18:56:13Z")

</div>

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](http://www.flickr.com/photos/filchiprogrammer/2652641020/)), 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.

---

<div class="post-metadata">

**Author:** ![gers32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ed8c4c/32.png) [@gers32](https://www.ruby-forum.com/u/gers32)\
**Post date:** [September 6, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/rubygems-requesting-win32-service-on-red-hat-linux/147897/2 "2008-09-06T22:11:49Z")

</div>

On Fri, Sep 5, 2008 at 10:27 AM, gers32 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![gers32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ed8c4c/32.png) [@gers32](https://www.ruby-forum.com/u/gers32)\
**Post date:** [September 8, 2008, 8:55am UTC](https://www.ruby-forum.com/t/rubygems-requesting-win32-service-on-red-hat-linux/147897/3 "2008-09-08T08:55:06Z")

</div>

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

Cheers,

Chris.
