thoughtbot / cocaine

A small library for doing (command) lines.
https://robots.thoughtbot.com
Other
785 stars 55 forks source link

Gem not available to install #25

Closed antun closed 12 years ago

antun commented 12 years ago

Not sure if this is the right place to log this - please scold me if it's not.

My bundle install is failing with this error:

An error occurred while installing cocaine (0.3.2), and Bundler cannot continue. Make sure that gem install cocaine -v '0.3.2' succeeds before bundling.

Running gem install cocaine -v '0.3.2' results in:

ERROR: Could not find a valid gem 'cocaine' (= 0.3.2) in any repository ERROR: Possible alternatives: cocaine

On this page: https://rubygems.org/gems/cocaine, the link to download the cocaine gem (https://rubygems.org/downloads/cocaine-0.3.2.gem - redirects to https://s3.amazonaws.com/production.s3.rubygems.org/gems/cocaine-0.3.2.gem) is broken; it results in:

<Error> <Code>NoSuchKey</Code> <Message>The specified key does not exist.</Message> <Key>gems/cocaine-0.3.2.gem</Key> <RequestId>0D60305A44D07C89</RequestId> <HostId> r39FLKYs/ElHqoAPMuDd8UAaSjyAzAWnfZweyCJUwm1r5bf9q0EwHiWrKd/w4o13 </HostId> </Error>

jyurek commented 12 years ago

Odd. I've contacted @qrush about that to see if there's anything up. Thanks for reporting.

jyurek commented 12 years ago

The report back is that S3 is being rather dumb. If you really need the gem right now, I've uploaded a copy here: https://github.com/downloads/thoughtbot/cocaine/cocaine-0.3.2.gem

While this isn't perfect, you can at least install it into the local environments and hopefully Bundler will use it instead of trying to download a new one.

If this problem persists (or, for future people, if this problem happens with new versions), please let me know as I'll post other versions as necessary.

Thanks for your patience.

antun commented 12 years ago

Thank you! I was able to install from the gem you provided by:

  1. Downloading the cocaine-0.3.2.gem file to a local directory.
  2. From that directory, running gem install cocaine -v '0.3.2'
johnmoroney commented 12 years ago

Excellent. Thanks!