From: Stephen Boesch Date: 2012-03-24T13:13:12+09:00 Subject: rvm / gem install not working (zlib issue) on ubuntu Hi gem install is not working under rvm on my ubuntu 10.04 system. The error is related to zlib. Note I have followed instructions on stackoverflow related to this and still come up short. http://stackoverflow.com/questions/769496/ubuntu-noob-rails-install-fails-on-zlib http://stackoverflow.com/questions/9727908/cannot-load-such-file-zlib-even-after-using-rvm-pkg-install-zlib $ gem install redcar ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand Here is output for zlib on my system steve@mithril:/shared/hbase$ dpkg -s zlib* Package `zlib*' is not installed and no info is available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. steve@mithril:/shared/hbase$ dpkg-query -l zlib* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-======================-======================-============================================================ un zlib1 (no description available) un zlib1-dev (no description available) ii zlib1g 1:1.2.3.3.dfsg-15ubunt compression library - runtime ii zlib1g-dev 1:1.2.3.3.dfsg-15ubunt compression library - development I am posting here instead of Stackoverflow because posting messages stopped working for me on SOF, both on FF and in Chrome Hopefully here this error will be familiar to many and can be answered -- Posted via http://www.ruby-forum.com/.