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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:33:02+00:00 2026-05-22T03:33:02+00:00

I must be missing something totally obvious but I can’t seem to get the

  • 0

I must be missing something totally obvious but I can’t seem to get the ‘zip’ gem to work. I’ve installed it with rubygems just like I’ve done with many other gems. Rubygem says it’s there but yet when I try to require it, Ruby says it’s not there. I’m experiencing the same problem on both Windows and Linux. Here’s a Linux session (extra output removed for brevity):

~$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
~$ gem list z
~$ sudo gem install zip 
Successfully installed zip-2.0.2
~$ irb
irb(main):001:0> require 'zip/zip'
LoadError: no such file to load -- zip/zip
        from (irb):1:in `require'
        from (irb):1
        from :0

And a Windows session:

C:\> ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
C:\> gem list z
C:\> gem install zip
Successfully installed zip-2.0.2
C:\> irb
irb(main):001:0> require 'zip/zip'
LoadError: no such file to load -- zip/zip
        from (irb):1:in `require'
        from (irb):1

I’m thinking perhaps there’s some underlying dependency that ‘zip’ needs but I haven’t found anything about that in the docs.

I’ve also had the same lack of success with ‘rubyzip’ It seems that perhaps ‘zip’ and ‘rubyzip’ are forks?

Any ideas? Or if there’s a better gem out there for archiving, I’d love to hear about it. The choice of zip archiving gems is confusing. The gem ‘Zippy’ looks good but it requires ‘zip’ so I’m still stuck.

  • 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-22T03:33:03+00:00Added an answer on May 22, 2026 at 3:33 am

    Try this.

    gem install rubyzip2
    

    then

    irb> require 'rubygems'
    #=>  true
    irb> require 'zip/zip'
    #=>  true
    # you can also require 'zip/zipfilesystem'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I must be missing something obvious here, but I can't seem to get the
I must be missing something very obvious, but I've searched all over and can't
I suspect I must be missing something very elementary but I can't seem to
I must be missing something obvious, but I can't figure out how to rename
I must be missing something simple, but I can't see it. First, the setup:
I know I must be missing something, but can't figure out what. When I
I know I must be missing something, but in a while statement how does
I must be getting daft, but I can't seem to find how to read
Maybe I'm totally missing something about even handling in jQuery, but here's my problem.
I must be missing something trivial with SQLAlchemy's cascade options because I cannot get

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.