Rails Installation issue in Ubuntu 16.04

zlib is missing; necessary for building libxml2

I’ve just had this same problem on a fresh Ubuntu 14.04 box and it turns out there is a dependency for the zlib source (i.e. zlib.h) so you need to:

sudo apt-get install zlib1g-dev


First blog post

This is your very first post. Click the Edit link to modify or delete it, or start a new post. If you like, use this post to tell readers why you started this blog and what you plan to do with it.