Trying to get Mongrel installed


#1

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:inrequire’
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:inrequire’
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:inrequire’
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


#2

see:

http://rubyforge.org/tracker/index.php?func=detail&aid=2196&group_id=126&atid=576


#3

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 –