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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:00:46+00:00 2026-05-18T20:00:46+00:00

For my application, I need to handle encrypted ZIP files. Despite their horrific looking

  • 0

For my application, I need to handle encrypted ZIP files. Despite their horrific looking site, it seems that Chilkat’s commercial Zip gem is probably the best way to go to implement this.

Because this is a commercial gem, they don’t have it in any of the typical gem sources that Bundler looks at. I was able to install the Linux 64-bit version of the gem under Mac OS X (though I haven’t tried to run it yet, so no word yet on if that will actually work). However, I’m first trying to get Bundler to recognize and load the gem from the .gem file that I downloaded.

Bundler has a path attribute which I’ve tried to utilize in several ways, but I haven’t gotten it to work yet:

  1. I tried using path to point to the .gem file itself, but path expects a directory.
  2. I tried adding .gz to the end of the .gem file and extracting it – I got a directory with a data.tar.gz and metadata.gz inside. path pointed to the extracted directory with these two files didn’t work.
  3. I tried extracting the data.tar.gz and metadata.gz and placing the extracted versions inside the directory that I pointed path to. This failed.
  4. I noticed that the gem didn’t have a gemspec file – I created one and placed it inside the directory. No luck.

This is the error that I get:

$ bundle install
Fetching source index for http://rubygems.org/
Fetching source index for http://gems.github.com/
Could not find gem 'chilkat (>= 0, runtime)' in source at /Users/username/appname/vendor/cache/chilkat-9.1.0-x86_64-linux.
Source does not contain any versions of 'chilkat (>= 0, runtime)'

Any ideas on how I can get Bundler to see that the gem is indeed in this directory? Any other options other than the path attribute which doesn’t seem to be working?

Many 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-05-18T20:00:46+00:00Added an answer on May 18, 2026 at 8:00 pm

    I’m using Rails 3.0.3, new to Rails 3 and bundler.

    I got this same error with:

    gem 'mygem', :path => '/path/to/gem'
    

    Resolved by specifying the version number:

    gem 'mygem', '0.0.1', :path => '/path/to/gem'
    

    Using >=0.0.1 for the version reverted to the original error. I can’t explain any of this, however.

    Quoting JD’s helpful commment, from the Gemfile man page: “Similar to the semantics of the :git option, the :path option requires that the directory in question either contains a .gemspec for the gem, or that you specify an explicit version that bundler should use.”

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

Sidebar

Related Questions

For my application, I need to handle encrypted ZIP files. Despite their horrific looking
I have two application that need to talk to each other. App1 needs to
I have this application that need to do some things in protected paths (like
In my Cocoa application I need to run a task that uses unstable unfixable
I am developing an application which need to handle a massive amount of REST
My application will need some windows but I can't use the popUpManager to handle
I'm working on an e-commerce type web application and need to somehow handle calculation
I will need to handle a piano key that can respond as fast as
I need to handle another windows application programatically, searching google I found a sample
We have a web application (Metro web services on tomcat) and need to handle

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.