# Problems with upgrade to 1.8.4

**URL:** <https://www.ruby-forum.com/t/problems-with-upgrade-to-1-8-4/72029>\
**Category:** Ruby\
**Created:** [October 13, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/problems-with-upgrade-to-1-8-4/72029 "2006-10-13T18:33:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [October 13, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/problems-with-upgrade-to-1-8-4/72029/1 "2006-10-13T18:33:51Z")

</div>

Actually this is _almost_ a gems problem in that it shows up with gems.

I’ve installed a new compile of 1.8.4 and rubygems 0.9.0  
However when I try to run gems it can’t find a library file:

$ gem  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem_original_require': no such file to load -- zlib (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from /usr/lib/ruby/site\_ruby/1.8/rubygems/package.rb:9  
from  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`require' from /usr/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in`require’  
from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:93:in `manage\_gems’  
from /usr/bin/gem:10

“zlib” ?? as in “zlib.rb” or …

$ find /usr/lib/ruby -name ‘_zlib_’ -print  
/usr/lib/ruby/1.8/i586-linux-gnu/zlib.so

There seem to be a few other things it can’t find like ‘path.rb’

Were these supposed to be in the Ruby distribution or do I need to  
download  
them from somewhere else?

---

<div class="post-metadata">

**Author:** ![antonaylward](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Post date:** [October 13, 2006, 10:15pm UTC](https://www.ruby-forum.com/t/problems-with-upgrade-to-1-8-4/72029/2 "2006-10-13T22:15:08Z")

</div>

On 10/13/06, Anton A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ```
> from /usr/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
> 
> ```
> 
> $ find /usr/lib/ruby -name ‘_zlib_’ -print  
> /usr/lib/ruby/1.8/i586-linux-gnu/zlib.so
> 
> There seem to be a few other things it can’t find like ‘path.rb’
> 
> Were these supposed to be in the Ruby distribution or do I need to download  
> them from somewhere else?

What Linux distro is this? Sounds like you don’t have zlib installed.  
(The presence of zlib.so in Ruby’s lib directories does not indicate  
that the ‘real’ zlib is available on your system.)

If this is Debian, they have chosen to give zlib the insane name of  
zlib1g-dev.
