Following on from my previous post Installing Ruby on Ubuntu, I tried to install/compile Ruby (and rubygems, rake) on Ubuntu server 7.04. Since Ubuntu Server is a “minimal” installation for use on a server, various development tools need to be installed, I used the following commands: apt-get install build-essential autoconf manpages-dev and also apt-get build-dep ruby1.8 Without doing the last step you get errors building rubygems

/usr/local/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:4:in `require': no such file to load -- zlib (LoadError)

Yes, I realise it’s a bit of a cheat to take the dependencies of the Ubuntu ruby package.