From: Stephen Boesch Date: 2012-03-24T21:13:44+09:00 Subject: Re: rvm / gem install not working (zlib issue) on ubuntu Hi Hans, No, I installed rvm first. Not sure why that should matter, but in any case I have reinstalled rvm . No change. root@mithril:/etc# bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) Downloading RVM from wayneeseguin branch stable % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 938k 100 938k 0 0 385k 0 0:00:02 0:00:02 --:--:-- 600k Upgrading the RVM installation in /usr/local/rvm/ RVM system user group 'rvm' exists, proceeding with installation. Upgrade Notes: * No new notes to display. Upgrade of RVM in /usr/local/rvm/ is complete. # root, # # Thank you for using RVM! # I sincerely hope that RVM helps to make your life easier and more enjoyable!!! # # ~Wayne rvm 1.10.3 (stable) by Wayne E. Seguin , Michal Papis [https://rvm.beginrescueend.com/] root@mithril:/etc# rvm reload RVM reloaded! root@mithril:/etc# apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion Reading package lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. openssl is already the newest version. libreadline6 is already the newest version. libreadline6-dev is already the newest version. curl is already the newest version. git-core is already the newest version. zlib1g is already the newest version. zlib1g-dev is already the newest version. libssl-dev is already the newest version. libyaml-dev is already the newest version. libsqlite3-dev is already the newest version. sqlite3 is already the newest version. libxml2-dev is already the newest version. Note, selecting libxslt1-dev instead of libxslt-dev libxslt1-dev is already the newest version. autoconf is already the newest version. libc6-dev is already the newest version. Note, selecting libncurses5-dev instead of ncurses-dev libncurses5-dev is already the newest version. automake is already the newest version. automake set to manually installed. libtool is already the newest version. bison is already the newest version. subversion is already the newest version. The following packages were automatically installed and are no longer required: linux-headers-2.6.32-33 linux-headers-2.6.32-38 linux-headers-2.6.32-38-generic linux-headers-2.6.32-33-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. root@mithril:/etc# rvm list rvm rubies ruby-1.9.2-p318 [ x86_64 ] =* ruby-1.9.3-p125 [ x86_64 ] # => - current # =* - current && default # * - default root@mithril:/etc# gem install redcar ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::InstallCommand root@mithril:/etc# rvm requirements -- Posted via http://www.ruby-forum.com/.