0

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.

AlfonsoML
  • 12,634
  • 2
  • 46
  • 53
ChrisC
  • 916
  • 1
  • 10
  • 24
  • possible duplicate of [Invalid gemspec because of the date format in specification](http://stackoverflow.com/questions/5771758/invalid-gemspec-because-of-the-date-format-in-specification) – Macarse Apr 09 '12 at 21:12

1 Answers1

2

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

Community
  • 1
  • 1
Kumar Akarsh
  • 4,954
  • 2
  • 20
  • 31
  • 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" 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" 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" RubyGems 1.8.21 installed – ChrisC Apr 09 '12 at 18:40
  • 1
    you may try deleting 00:00:00.000000000Z in the gemspec file. – Kumar Akarsh Apr 09 '12 at 18:43
  • I was able to find the solution here which is similar to yours. http://stackoverflow.com/questions/5771758/invalid-gemspec-because-of-the-date-format-in-specification. Thank you! – ChrisC Apr 09 '12 at 18:49