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:

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: 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/ and ~/.gem/specs/ ?

  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


? 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

20 Apr, 2018 02:50 PM
19 Apr, 2018 05:43 PM
11 Apr, 2018 10:06 AM
10 Apr, 2018 02:55 PM
09 Apr, 2018 06:42 PM