# Trying to get Mongrel installed

**URL:** <https://www.ruby-forum.com/t/trying-to-get-mongrel-installed/90305>\
**Category:** Rails\
**Created:** [March 27, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/trying-to-get-mongrel-installed/90305 "2007-03-27T17:11:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![northband](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecae2f/32.png) [@northband](https://www.ruby-forum.com/u/northband)\
**Post date:** [March 27, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/trying-to-get-mongrel-installed/90305/1 "2007-03-27T17:11:39Z")

</div>

Hi all -

I am trying to get Mongrel installed on an old box but am having  
troubles. The box is running Ubuntu and I have installed the latest  
ruby, rails, and gems as far as I can tell. This is what I am  
getting:

mongrel1@mongrel1:~$ sudo gem install mongrel  
/usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require': no such file to load -- zlib (LoadError) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in`require’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems/package.rb:9  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems/  
custom\_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in`require’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:7  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems/  
custom\_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in`require’  
from /usr/local/lib/ruby/site\_ruby/1.8/rubygems.rb:93:in  
`manage\_gems’  
from /usr/local/bin/gem:10  
mongrel1@mongrel1:~$

Any ideas? Any help greatly appreciated.

-Adam

---

<div class="post-metadata">

**Author:** ![northband](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecae2f/32.png) [@northband](https://www.ruby-forum.com/u/northband)\
**Post date:** [March 27, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/trying-to-get-mongrel-installed/90305/2 "2007-03-27T17:19:40Z")

</div>

see:

[http://rubyforge.org/tracker/index.php?func=detail&aid=2196&group\_id=126&atid=576](http://rubyforge.org/tracker/index.php?func=detail&aid=2196&group_id=126&atid=576)

---

<div class="post-metadata">

**Author:** ![northband](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ecae2f/32.png) [@northband](https://www.ruby-forum.com/u/northband)\
**Post date:** [March 27, 2007, 5:19pm UTC](https://www.ruby-forum.com/t/trying-to-get-mongrel-installed/90305/3 "2007-03-27T17:19:40Z")

</div>

It looks like you might be missing one or more of the following  
packages, installable with “sudo apt-get install (package name)”:

build-essential  
libzlib-ruby  
zlib1g  
zlib1g-dev

–

– AL –
