From: Josh Cheek Date: 2011-07-26T04:13:55+09:00 Subject: Re: Issue installing a gem from local disk. zlib error message received --bcaec51ba0cde02ca404a8e99479 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jul 25, 2011 at 1:47 PM, Ruby Student wrote: > Hello all, > > I have a server which is not allowed on the web and where I want to install > a gem, *rubywmq-1.1.1.gem* to be specific. > So I downloaded the gem via the *gem fetch* command and I put it on /tmp. > I am trying to install it but I keep getting the following error: > > *===> /tmp* > # *gem install rubywmq-1.1.1.gem* > ERROR: Loading command: install (LoadError) > no such file to load -- zlib > ERROR: While executing gem ... (NameError) > uninitialized constant Gem::Commands::InstallCommand > > I have the following: > > # *ruby -v* > ruby 1.9.2p0 (2010-08-18 revision 29036) [powerpc-aix5.3.0.0] > ===> /tmp > # *gem -v* > 1.8.5 > > Any suggestions? > > Thank you > -- > Ruby Student > If you're using RVM, there is a section about zlib https://rvm.beginrescueend.com/packages/zlib/ --bcaec51ba0cde02ca404a8e99479--