简体   繁体   中英

Rails gem invalid date problem

When I want to update Rails Gem I've faced this problem

Invalid gemspec in [/Library/Ruby/Gems/1.8/specifications/cucumber-1.0.6.gemspec]: invalid date format in specification: "2011-09-13 00:00:00.000000000Z"

Why does this problem occur? and How should I fix it?

Thanks

This looks like a bug with rubygems. You can see the commit that fixed it .

Try updating your rubygems install. On a related note, other Cucumber users have had similar issues , but someone reports a fix .

In essence:

  1. Update rubygems.
  2. Manually remove Cucumber gemspec and gem folder
  3. Update bundler
  4. Reinstall Cucumber
  5. Try update Rails gem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM