1

每当我尝试从命令行使用任何 gem 操作时,我都会在执行操作之前收到此错误。目前我在运行 heroku 命令时收到此消息,但是在显示以下错误后 heroku 命令确实运行成功。如何摆脱以下错误显示 -

Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/mail-2.3.3.gemspec]: invalid date format in specification: "2012-03-14 00:00:00.000000000Z" Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/jquery-rails-1.0.19.gemspec]: invalid date format in specification: "2011-11-26 00:00:00.000000000Z" Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/multipart-post-1.1.5.gemspec]: invalid date format in specification: "2012-02-13 00:00:00.000000000Z" Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/uuid-2.3.5.gemspec]: invalid date format in specification: "2012-01-23 00:00:00.000000000Z" Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/oauth2-0.5.2.gemspec]: invalid date format in specification: "2012-01-04 00:00:00.000000000Z" Invalid gemspec in [/home/murtaza/.rvm/gems/ruby-1.9.3-p194/specifications/rack-cache-1.0.3.gemspec]: invalid date format in specification: "2011-08-27 00:00:00.000000000Z"
4

1 回答 1

2

gem-pristine -all 解决了问题!

于 2012-08-15T10:19:03.963 回答