Invalid date format specification in gemspec

后端 未结 18 2047
野性不改
野性不改 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:00

    The ultimate solution is this:

    Search "spec" files in your Ruby directory: *C:\Ruby187\lib\ruby\gems\1.8\specifications*

    If a gemspec file contains something like this: s.date = %q{2011-10-13 00:00:00.000000000Z} Then delete the 00:00:00.000000000Z part: s.date = %q{2011-10-13}

    After saving those gemspec files, the problem is solved.

提交回复
热议问题