Invalid gemspec in ...: invalid date format in specification: "..."

ant's Avatar

ant

23 Aug, 2011 10:51 AM

How come I see this error?

gem install rest-client

Successfully installed rest-client-1.6.6
1 gem installed
Installing ri documentation for rest-client-1.6.6...
Installing RDoc documentation for rest-client-1.6.6...

gem update

Invalid gemspec in [/var/lib/gems/1.8/specifications/rest-client-1.6.6.gemspec]: invalid date format in specification: "2011-08-22 00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/rest-client-1.6.6.gemspec]: invalid date format in specification: "2011-08-22 00:00:00.000000000Z"
Updating installed gems
Nothing to update

I had to uninstall it so my Rbot would run on my old Debian box, but without one of its plugin. :(

Thank you in advance. :)

  1. Support Staff 1 Posted by Nick Quaranto on 23 Sep, 2011 03:18 PM

    Nick Quaranto's Avatar

    Duplicate, closing this one out. Definitely upgrade RG!

  2. Nick Quaranto closed this discussion on 23 Sep, 2011 03:18 PM.

  3. ant re-opened this discussion on 23 Sep, 2011 05:15 PM

  4. 2 Posted by ant on 23 Sep, 2011 05:15 PM

    ant's Avatar

    FYI:

    $ apt-cache show rubygems
    Package: rubygems
    Version: 1.7.2-1
    Installed-Size: 4064
    Maintainer: Daigo Moriwaki 
    Architecture: all
    Replaces: rubygems-doc (<< 1.7.2-1~), rubygems1.8 (<< 1.7.2-1~)
    Provides: rubygems-doc, rubygems1.8
    Depends: ruby1.8
    Recommends: ruby1.8-dev, build-essential
    Conflicts: rubygems-doc (<< 1.7.2-1~), rubygems1.8 (<< 1.7.2-1~)
    Description: package management framework for Ruby libraries/applications
     This is a way to package Ruby libraries/applications for distribution.
     RubyGems provides the ability to manage concurrent versions of libraries and
     dependencies between those libraries. Using RubyGems, you can:
       * download and install Ruby libraries easily
       * not worry about libraries A and B depending on different versions of
         library C
       * easily remove libraries you no longer use
     .
     This package provides Rubygems for Ruby 1.8. In Ruby 1.9.X, Rubygems is
     provided with the interpreter.
    Homepage: http://rubygems.org/
    Ruby-Versions: ruby1.8
    Tag: devel::lang:ruby, implemented-in::ruby, role::program
    Section: ruby
    Priority: optional
    Filename: pool/main/r/rubygems/rubygems_1.7.2-1_all.deb
    Size: 446258
    MD5sum: b84c9c97299baedec1d792ae30cd51c5
    SHA1: f20eb7b0aab2691817d0dd70c354778873b00b15
    SHA256: 8ed057610ecf416d7ce25d80260d83b8e815749a7a72b498d7c8cb2bffb68498
    
    Package: rubygems
    Source: libgems-ruby
    Version: 1.6.2-1
    Installed-Size: 52
    Maintainer: Daigo Moriwaki 
    Architecture: all
    Depends: rubygems1.8 (= 1.6.2-1)
    Recommends: ruby-dev
    Description: package management framework for Ruby libraries/applications
     This is a way to package Ruby libraries/applications for distribution.
     RubyGems provides the ability to manage concurrent versions of libraries and
     dependencies between those libraries. Using RubyGems, you can:
       * download and install Ruby libraries easily
       * not worry about libraries A and B depending on different versions of
         library C
       * easily remove libraries you no longer use
     .
     This is a dependency package which depends on Debian's default Ruby version
     (currently 1.8.x).
    Homepage: http://rubygems.org/
    Tag: devel::lang:ruby, implemented-in::ruby, role::program
    Section: ruby
    Priority: optional
    Filename: pool/main/libg/libgems-ruby/rubygems_1.6.2-1_all.deb
    Size: 23614
    MD5sum: 3ec0ba2e2aa82138f7d9c73ccf96a7d0
    SHA1: afa5a7e9194692d0d11c85b6803f72f8c082eebf
    SHA256: 6215aed01e484f1cf8b7932d4995c675fe8583b07613d8b3f6ae9e91c8be8e45
    
    Package: rubygems
    Priority: optional
    Section: ruby
    Installed-Size: 104
    Maintainer: Daigo Moriwaki 
    Architecture: all
    Source: libgems-ruby
    Version: 1.3.7-3
    Depends: rubygems1.8 (= 1.3.7-3)
    Filename: pool/main/libg/libgems-ruby/rubygems_1.3.7-3_all.deb
    Size: 66722
    MD5sum: 94cf1c43bc31a547d7b06efb5fb01804
    SHA1: 10fc0dc9f4d044a133471436f463eac704bae319
    SHA256: b3e9c52457c475f50cd97a2d1773db38d7aa52907b9a568af89c3c75e6ea1476
    Description: package management framework for Ruby libraries/applications
     This is a way to package Ruby libraries/applications for distribution.
     RubyGems provides the ability to manage concurrent versions of libraries and
     dependencies between those libraries. Using RubyGems, you can:
       * download and install Ruby libraries easily
       * not worry about libraries A and B depending on different versions of
         library C
       * easily remove libraries you no longer use
     .
     This is a dependency package which depends on Debian's default Ruby version
     (currently 1.8.x).
    Homepage: http://rubygems.org/
    Tag: devel::lang:ruby, implemented-in::ruby, role::program
    

    http://packages.debian.org/search?keywords=rubygems&amp;searchon=na... is still showing v1.7.2 as the latest versions. I have to wait for them to update. :(

  5. Support Staff 3 Posted by Nick Quaranto on 23 Sep, 2011 07:47 PM

    Nick Quaranto's Avatar

    I would not, I would just run gem update --system or manually install it.

    http://rubygems.org/pages/download

  6. 4 Posted by ant on 23 Sep, 2011 07:49 PM

    ant's Avatar

    gem update --system

    ERROR: gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories.
    If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian.

  7. Support Staff 5 Posted by Nick Quaranto on 12 Oct, 2011 01:58 PM

    Nick Quaranto's Avatar

    Yeah, the debian/rubygems situation is a mess. I recommend using RVM instead, which can install RG on its own.

    http://rvm.beginrescueend.com/

  8. Nick Quaranto closed this discussion on 12 Oct, 2011 01:58 PM.

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

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM