Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7767329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:38:59+00:00 2026-06-01T15:38:59+00:00

I want to install ruby. My OS is centos5.5. When I gem install bundle

  • 0

I want to install ruby.
My OS is centos5.5.
When I gem install bundle
this get something wrong

ERROR: Loading command: install (LoadError)
no such file to load — zlib
ERROR: While executing gem … (NameError)
uninitialized constant Gem::Commands::InstallCommand

I try yum install zlib, but it prompts

Package zlib-1.2.3-4.el5.i386 already installed and latest version

I have searched this error, but I still can not solve this problem.
I found /usr/local/rvm/src has zlib-1.2.6.
I try into /usr/local/rvm/src/ruby-1.9.2-p318/ext/zlib and compile it
ruby extconf.rb
But I got this infomations:

checking for deflateReset() in -ltrue... no
checking for deflateReset() in -llibz... no
checking for deflateReset() in -lzlib1... no
checking for deflateReset() in -lzlib... no
checking for deflateReset() in -lzdll... no

So how can I do?
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:39:01+00:00Added an answer on June 1, 2026 at 3:39 pm

    It seems rvm is unable to find zlib. Try reinstalling ruby by first installing zlib for the rvm.

    rvm pkg install zlib
    rvm remove 1.9.2 
    rvm install 1.9.2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to install ruby on my Linux Mint 12. I am following this
I wrote a ruby application. This use a gem, but I don't want to
I've an error when I want to install Ruby 1.9.3 on OS X. I've
I want to install a gem on all my application servers, but gem install
i want to install phusion passenger together with ruby enterprise edition on x86_64 SMP
I want to retrieve information from SAP to Ruby on Rails. I found this
How would I code the following in a rake file (RubyGems.org)? gem install ruby-debug19
I am building an application using Ruby on Rails. I want to do something
i want to install this https://github.com/sferik/rails_admin so i pasting those 2 in the gemfile
ruby 1.8.7 has p302 and p330 versions, i want to install ruby in centos

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.