###This error can appear when you try to install ruby gems follow this steps:
###Error: no such file to load --zlib 1. sudo apt-get install zlib1g zlib1g-dev 2. cd /usr/src/ruby-1.9.2-p180/ext/zlib/ 3. sudo ruby extconf.rb 4. sudo make 5. sudo make install