Invalid date format specification in gemspec

后端 未结 18 2041
野性不改
野性不改 2020-12-04 09:47

I am getting the following error when I try to use gems in windows, and I also referred to this stackoverflow post and updated rubygems and rails. But nothing could solve t

18条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-04 10:02

    Invalid gemspec in [/var/lib/gems/1.8/specifications/chronic-0.6.4.gemspec]: invalid date format in specification: "2011-09-09 00:00:00.000000000Z"

    The simple fix to such kind of problem is to navigate to the file.. for eg.

    Step 1. cd /var/lib/gems/1.8/specifications
    step 2. open the file(chronic-0.6.4.gemspec) in editor of ur choice... (gedit chronic-0.6.4.gemspec)
    step 3. change the s.date = %q{2011-10-13 00:00:00.000000000Z} to s.date = %q{2011-10-13}

    Cheers :)

提交回复
热议问题