tag:help.rubygems.org,2010-01-19:/discussions/problems/575-invalid-gemspec-with-invalid-date-format-in-specificationRubyGems.org: Discussion 2011-05-19T01:29:36Ztag:help.rubygems.org,2010-01-19:Comment/68430472011-04-26T12:33:41Z2011-04-26T12:33:42ZInvalid gemspec with "invalid date format in specification"<div><p>Building a gem with Ruby 1.9.2, rubygems 1.7.2</p>
<p>And then using the gem on Ruby 1.8.7</p>
<p>I get:</p>
<p>Invalid gemspec in [my.gemspec]: invalid date format in
specification: "2011-04-25 00:00:00.000000000Z"</p></div>peter.royaltag:help.rubygems.org,2010-01-19:Comment/68430472011-04-26T12:35:28Z2011-04-26T12:35:29ZInvalid gemspec with "invalid date format in specification"<div><p>This is a pull request for this problem:</p>
<p><a href=
"https://github.com/rubygems/rubygems/pull/57">https://github.com/rubygems/rubygems/pull/57</a></p></div>peter.royaltag:help.rubygems.org,2010-01-19:Comment/68430472011-05-03T12:24:32Z2011-05-03T12:24:33ZInvalid gemspec with "invalid date format in specification"<div><p>a workaround is to force syck when building the gem:</p>
<p>YAML::ENGINE.yamler = 'syck'</p></div>peter.royaltag:help.rubygems.org,2010-01-19:Comment/68430472011-05-19T00:32:53Z2011-05-19T00:32:53ZInvalid gemspec with "invalid date format in specification"<div><p>This is now fixed and will go out in 1.8.3 or 1.9.0, whichever
happens first.</p></div>Ryan Davis