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 1032933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:09:26+00:00 2026-05-16T14:09:26+00:00

I get an error when i run: vagrant@vagrantup:~$ sudo gem list ERROR: Loading command:

  • 0

I get an error when i run:

vagrant@vagrantup:~$ sudo gem list
ERROR:  Loading command: list (LoadError)
    no such file to load -- zlib
ERROR:  While executing gem ... (NameError)
    uninitialized constant Gem::Commands::ListCommand

Even if I don’t use sudo I get the same error message.

It’s on Ubuntu 10.4 and I have installed zlib libraries:

vagrant@vagrantup:~$ sudo aptitude search zlib
p   gambas2-gb-compress-bzlib2                                                    - The Gambas bzlib2 component                                                             
p   gambas2-gb-compress-zlib                                                      - The Gambas zlib compression component                                                   
p   haskell-zlib-doc                                                              - Compression and decompression in the gzip and zlib formats; documentation               
p   libcompress-raw-zlib-perl                                                     - low-level interface to zlib compression library                                         
p   libcompress-zlib-perl                                                         - Transitional dummy package for Compress::Zlib                                           
i   libghc6-zlib-dev                                                              - Compression and decompression in the gzip and zlib formats                              
v   libghc6-zlib-dev-0.5.2.0-d3bd7                                                -                                                                                         
v   libghc6-zlib-doc                                                              -                                                                                         
p   libghc6-zlib-prof                                                             - Compression and decompression in the gzip and zlib formats; profiling libraries         
v   libghc6-zlib-prof-0.5.2.0-d3bd7                                               -                                                                                         
p   libio-compress-zlib-perl                                                      - Transitional dummy package for IO::Compress::Zlib                                       
p   libio-zlib-perl                                                               - IO:: style interface to gzip/zlib compressed files/handles                              
p   libjzlib-java                                                                 - reimplementation of zlib in pure Java                                                   
i   libzlib-ruby                                                                  - transitional dummy package                                                              
v   libzlib-ruby1.8                                                               -                                                                                         
p   zlib-bin                                                                      - compression library - sample programs                                                   
i   zlib1g                                                                        - compression library - runtime                                                           
p   zlib1g-dbg                                                                    - compression library - development                                                       
i   zlib1g-dev                                                                    - compression library - development                                                       
i   zlibc                                                                         - An on-fly auto-uncompressing C library

Im using http://www.vagrantup.com and the error comes after i have installed rvm.

What could the problem be?

  • 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-05-16T14:09:26+00:00Added an answer on May 16, 2026 at 2:09 pm

    How was Ruby installed? If Ruby was installed without zlib support, that would be the problem.

    You can read my article here on installing RVM on Ubuntu. You must have both zlib and the zlib-dev packages installed before compiling Ruby (along with some other packages from Ubuntu). You’ll probably just need to install these and re-compile Ruby.

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

Sidebar

Related Questions

While trying to install Rails 3, I get the following error: command run: sudo
I get the error below when trying to run an executable jar file. The
I get this error when I run the code below. I have normally used
I get this error when I run a django app ( dpaste ) Template
I get this error when I run the application Incorrect syntax near 12 ,
I get this error when I run gradle test : Caused by: org.gradle.api.GradleException: Could
I get the following error when I run a java program: Exception in thread
I get the following error when I run my task via DelayedJob: closed stream
I get this error FB is not defined when i try to run this
I get following error message, when I try to run git rebase -i for

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.