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

  • SEARCH
  • Home
  • 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 7803365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:33:32+00:00 2026-06-02T01:33:32+00:00

After I do rvm uninstall 1.9.3 rvm pkg install zlib rvm install 1.9.3 –with-zlib-dir=$rvm_path/usr

  • 0

After I do

rvm uninstall 1.9.3
rvm pkg install zlib
rvm install 1.9.3 --with-zlib-dir=$rvm_path/usr

there is still no zlib. Any gem install or gem update command fails with error:

$ gem update --system
ERROR:  Loading command: update (LoadError)
    cannot load such file -- zlib
ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::Commands::UpdateCommand

System is Ubuntu Server 11.10 x64.

  • 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-02T01:33:33+00:00Added an answer on June 2, 2026 at 1:33 am

    Try to install the packages from the Ubuntu apt repos.

    sudo apt-get install zlib1g zlib1g-dev

    Remember to uninstall 1.9.3 again after you install these.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use Heroku Taps but after gem install taps, I'm still getting
After installing rvm, updating .gmrc file, updating rubygems and running gem install rails -v
I tried installing ruby 1.9.3 on Snow Leopard using: rvm install 1.9.3 --with-gcc=clang After
After a successful RVM single user install, I installed some gems, then restarted PuTTY,
Does anyone know if it's ok to uninstall all system gems after installing RVM
I ran gem update --system to update to Rubygems 1.5.0 and after every time
I'm trying to install rvm.el from https://github.com/senny/rvm.el and after copying said file and copying
So I have done Gem install newgem (running under rvm) and also sudo gem
I dont understand why after the rvm command I am still on ruby 1.8.7.
I've managed to install RVM on a Linode VPS before, but after a rebuild

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.