Rubygems tries to fetch version number with a leading zero

blindgaenger's Avatar


02 Jan, 2011 02:25 PM

I've problems installing rchardet, because rubygems seems to try to resolve the version 1.3 to 1.03.

$ gem install rchardet --verbose
302 Found
304 Not Modified
302 Found
304 Not Modified
200 OK
200 OK
404 Not Found
Error fetching remote data:             bad response Not Found 404 (
Falling back to local-only install
ERROR:  Could not find a valid gem 'rchardet' (>= 0) in any repository
ERROR:  Possible alternatives: rchardet

Is there a way to force the version number? Or what is suggested way to handle such old gem versions?


  1. Support Staff 1 Posted by Eric Hodel on 02 Jan, 2011 11:27 PM

    Eric Hodel's Avatar

    There's a possibly related bug with prereleases, gem install eventmachine --pre tries to download eventmachine-1.0.0.beta1.gemspec.rz instead of beta.1

    Could be related to this change

  2. 2 Posted by Ryan Davis on 18 Jan, 2011 09:07 PM

    Ryan Davis's Avatar

    I'm uncertain about Eric's diagnosis. I'm unable to repro this using rubygems 1.4.2. Eg: gem fetch rchardet -v 1.3 works fine for me.

  3. 3 Posted by Ryan Davis on 13 May, 2011 08:00 AM

    Ryan Davis's Avatar

    I assume this issue is resolved.

  4. Ryan Davis closed this discussion on 13 May, 2011 08:00 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

29 Mar, 2017 09:30 PM
29 Mar, 2017 09:27 PM
29 Mar, 2017 03:24 PM
29 Mar, 2017 03:10 PM
29 Mar, 2017 03:04 PM