Strange gem install behavior - wrong gems get installed

Matias Korhonen's Avatar

Matias Korhonen

19 Nov, 2010 11:53 AM

I'm experiencing some very strange behavior from gem install.

The problem is that running gem install for a particular gem installs the wrong gem.

At least the faraday and addressable gems have this problem:

~/Programming/lehtilompakko_processor[master]% gem install faraday       
Successfully installed fakutori-san-0.1.0
1 gem installed

~/Programming/lehtilompakko_processor[master]% gem install addressable   
Successfully installed adaptation-1.0.1
1 gem installed

See the verbose output here: https://gist.github.com/706413

On the other hand some other gems get installed just fine:

Building native extensions.  This could take a while...
Successfully installed curb-0.7.8
1 gem installed

I'm running 1.9.2-p0 via RVM on OS X (rvm info output: https://gist.github.com/4fdfc5eb8fd790e61a4d) and I've tried removing the 1.9.2 installation and reinstalling it, but to no effect.

  1. Support Staff 1 Posted by Eric Hodel on 19 Nov, 2010 07:05 PM

    Eric Hodel's Avatar

    Can you attach ~/.gem/specs/rubygems.org%80/latest_specs.4.8 and ~/.gem/specs/rubygems.org%80/specs.4.8 ?

  2. 2 Posted by Matias Korhonen on 20 Nov, 2010 08:50 PM

    Matias Korhonen's Avatar

    Attached the requested files.

  3. Support Staff 3 Posted by Nick Quaranto on 01 Dec, 2010 04:38 AM

    Nick Quaranto's Avatar

    Any luck with this, Eric? Is this a bug on the Gemcutter indexing side?

  4. 4 Posted by grosser on 25 Jan, 2011 11:52 AM

    grosser's Avatar

    i have the same issue with gem install deputy -> installed deploy_and_deliver

  5. 5 Posted by Michael Grosser on 25 Jan, 2011 11:58 AM

    Michael Grosser's Avatar

    it works after : rm -rf ~/.gem/specs/

  6. Support Staff 6 Posted by Nick Quaranto on 27 May, 2011 12:26 AM

    Nick Quaranto's Avatar

    Yay! If you're seeing other strange issues gem sources -c does that too.

  7. Nick Quaranto closed this discussion on 27 May, 2011 12:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM