Forum: Ruby on Rails Trying to get Mongrel installed

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
northband (Guest)
on 2007-03-27 19:11
(Received via mailing list)
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
Chris H. (Guest)
on 2007-03-27 19:19
(Received via mailing list)
Al Gordon (Guest)
on 2007-03-27 19:19
(Received via mailing list)
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 --
This topic is locked and can not be replied to.