# Installation problem

**URL:** <https://www.ruby-forum.com/t/installation-problem/110317>\
**Category:** Deployment\
**Created:** [July 25, 2007, 9:12am UTC](https://www.ruby-forum.com/t/installation-problem/110317 "2007-07-25T09:12:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devashish](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e0b2c6/32.png) [@devashish](https://www.ruby-forum.com/u/devashish)\
**Post date:** [July 25, 2007, 9:12am UTC](https://www.ruby-forum.com/t/installation-problem/110317/1 "2007-07-25T09:12:26Z")

</div>

Hi,

I am trying to install Ruby gems on SUSE Linux 10.0, while executing the  
command “sudo gem install rails” I am getting a error

/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in  
`require__': no such file to load -- zlib (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21: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:21:in `require__' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require’  
from /usr/lib/ruby/site\_ruby/1.8/rubygems/builder.rb:1  
from  
/usr/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require__' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require’  
from /usr/lib/ruby/site\_ruby/1.8/rubygems.rb:61:in `manage\_gems’  
from /usr/bin/gem:4

However I have followed the procedure which is given on  
“[http://developer.novell.com/wiki/index.php/Configuring\_Ruby\_Rails\_for\_Apache\_on\_SUSE\_Linux\_Enterprise\_Server#Configuring\_Ruby\_Rails\_for\_Apache\_on\_SUSE\_Linux\_Enterprise\_Server](http://developer.novell.com/wiki/index.php/Configuring_Ruby_Rails_for_Apache_on_SUSE_Linux_Enterprise_Server#Configuring_Ruby_Rails_for_Apache_on_SUSE_Linux_Enterprise_Server)”

Can anyone please help me on this.  
Thanks in advance.  
Regards,  
Dev
