# Offline/local install of mongrel\_service

**URL:** <https://www.ruby-forum.com/t/offline-local-install-of-mongrel-service/148839>\
**Category:** Mongrel\
**Created:** [September 17, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/offline-local-install-of-mongrel-service/148839 "2008-09-17T17:14:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zbm003](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@zbm003](https://www.ruby-forum.com/u/zbm003)\
**Post date:** [September 17, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/offline-local-install-of-mongrel-service/148839/1 "2008-09-17T17:14:45Z")

</div>

I am trying to install mongrel\_service 0.3.4 on a server that does not  
have any outside internet connection. It has ruby 1.8.6 and I have been  
installing gems by copying the source into  
…\ruby\lib\ruby\gems\1.8\gems and then doing a gem install --local  
using the .gem file. I was able to find and install all the gem  
dependencies of mongrel\_service through rubyforge except win32-service  
which required version 0.5.2, which was not readily available through  
rubyforge’s win32 utilities page  
([http://rubyforge.org/frs/?group\_id=85](http://rubyforge.org/frs/?group_id=85)). I ended up finding the gem  
win32-service-0.5.2-mswin32.gem I needed through google  
([http://rubyforge.org/frs/download.php/15355/win32-service-0.5.2-mswin32.gem](http://rubyforge.org/frs/download.php/15355/win32-service-0.5.2-mswin32.gem))  
but I suspect if might have been corrupted. I installed this gem, then  
installed mongrel\_service. After installing mongrel\_service there is no  
mongrel\_service.exe in …\ruby\bin. Does anyone have any suggestions  
as to how I can successfully install mongrel\_service?

thanks!

---

<div class="post-metadata">

**Author:** ![zbm003](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e47c2d/32.png) [@zbm003](https://www.ruby-forum.com/u/zbm003)\
**Post date:** [September 17, 2008, 8:13pm UTC](https://www.ruby-forum.com/t/offline-local-install-of-mongrel-service/148839/2 "2008-09-17T20:13:14Z")

</div>

On Wed, Sep 17, 2008 at 12:14 PM, Zainab M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> ([http://rubyforge.org/frs/download.php/15355/win32-service-0.5.2-mswin32.gem](http://rubyforge.org/frs/download.php/15355/win32-service-0.5.2-mswin32.gem))  
> but I suspect if might have been corrupted. I installed this gem, then  
> installed mongrel\_service. After installing mongrel\_service there is no  
> mongrel\_service.exe in …\ruby\bin. Does anyone have any suggestions  
> as to how I can successfully install mongrel\_service?

Hello Zainab,

If you don’t have internet access, then will be really hard for you to  
fulfill all the dependencies.

if win32utils project administrator decided to hide previous releases,  
the files are still there, as you found. The gem is not corrupted.

The mongrel\_service executable will be copied automatically the first  
time you install (with service::install) a Rails application.

So:

1. download manually the following gems (you can use wget or enter the  
url in your browser)

[http://gems.rubyforge.org/gems/cgi\_multipart\_eof\_fix-2.5.0.gem](http://gems.rubyforge.org/gems/cgi_multipart_eof_fix-2.5.0.gem)  
[http://gems.rubyforge.org/gems/mongrel-1.1.5-x86-mswin32-60.gem](http://gems.rubyforge.org/gems/mongrel-1.1.5-x86-mswin32-60.gem)  
[http://gems.rubyforge.org/gems/gem\_plugin-0.2.3.gem](http://gems.rubyforge.org/gems/gem_plugin-0.2.3.gem)  
[http://gems.rubyforge.org/gems/mongrel\_service-0.3.4-i386-mswin32.gem](http://gems.rubyforge.org/gems/mongrel_service-0.3.4-i386-mswin32.gem)  
[http://gems.rubyforge.org/gems/win32-service-0.5.2-mswin32.gem](http://gems.rubyforge.org/gems/win32-service-0.5.2-mswin32.gem)

1. install with gem install --local in the same order I listed above.

2. install your rails application as service:

mongrel\_rails service::install (all the params here)

1. Done, you can now start the service with “net start …” and “net  
stop …”

## HTH,

## 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
