Search code examples
rubycompass-sass

Invalid gemspec error while running compass in ruby


I receive the following error when running a new compass project in OSX 10.7.3.

Invalid gemspec in [/Library/Ruby/Gems/1.8/specifications/multipart-post-1.1.5.gemspec]:           invalid date format in specification: "2012-02-13 00:00:00.000000000Z"

I have tried running sudo gem update --system to cure the problem but I get the same error when doing so.


Solution

  • Try this

    gem install rubygems-update
    update_rubygems
    

    You may also find this helpful esp. the answer of GaborKomaromi

    Invalid date format specification in gemspec