Invalid gemspec because of the date format in specification

后端 未结 15 1141
悲&欢浪女
悲&欢浪女 2020-11-28 01:41

When I include a gem that I made, thanks to Bundler (version 1.0.12), in a Gemfile and then I try to bundle or to rake just like that:

$ rake

I\

15条回答
  •  迷失自我
    2020-11-28 02:31

    Here is the way I fix the "invalid date format in specification" error:

    1.) Go to the specifications folder located at:

    /usr/local/lib/ruby/gems/1.8/specifications/

    2.) Find the spec that is causing the problem.

    3.) Change s.date = %q{2011-05-21 00:00:00.000000000Z} to s.date = %q{2011-05-21}

    That's a WIN for me! Good Luck

提交回复
热议问题