gem and/or Ruby on Rails broke all of a sudden, anyone know what happened?

后端 未结 4 1671
盖世英雄少女心
盖世英雄少女心 2021-02-10 23:44

I had a Ruby on Rails app that used to work. I hadn\'t used it in a month or so, but then tried starting it up today with rails s and got the following error—in fa

4条回答
  •  抹茶落季
    2021-02-11 00:18

    I got the same error with jquery-rails 2.0.3:

    Invalid gemspec in [C:/Ruby187/lib/ruby/gems/1.8/specifications/jquery-rails-2.0.3.gemspec]: invalid date format in specification: "2012-08-16 00:00:00.000000000Z"
    

    To fix that, I have edited the file C:/Ruby187/lib/ruby/gems/1.8/specifications/jquery-rails-2.0.3.gemspec and change the line containing:

    s.date = %q{2012-08-16 00:00:00.000000000Z}
    

    to

    s.date = %q{2012-08-16}
    

    then it works again.

提交回复
热议问题