【发布时间】:2011-11-09 13:45:40
【问题描述】:
当我尝试在 Windows 中使用 gems 时出现以下错误,我还提到了 this stackoverflow post 并更新了 rubygems 和 rails。但没有什么能解决问题。
以下是完整的错误,
D:\> 宝石环境 [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /tilt-1.3.3.gemspec]:规范中的无效日期格式:“2011-08-25 00:00:00 .000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /execjs-1.2.4.gemspec]:规范中的无效日期格式:“2011-08-03 00:00: 00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /temple-0.3.3.gemspec]:规范中的无效日期格式:“2011-08-26 00:00: 00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /guard-0.6.3.gemspec]:规范中的无效日期格式:“2011-09-01 00:00:0 0.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /guard-livereload-0.3.1.gemspec]:规范中的无效日期格式:“2011-09 -01 00:00:00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /rack-cache-1.0.3.gemspec]:规范中的无效日期格式:“2011-08-27 00 :00:00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /tilt-1.3.3.gemspec]:规范中的无效日期格式:“2011-08-25 00:00:00 .000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /execjs-1.2.4.gemspec]:规范中的无效日期格式:“2011-08-03 00:00: 00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /temple-0.3.3.gemspec]:规范中的无效日期格式:“2011-08-26 00:00: 00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /guard-0.6.3.gemspec]:规范中的无效日期格式:“2011-09-01 00:00:0 0.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /guard-livereload-0.3.1.gemspec]:规范中的无效日期格式:“2011-09 -01 00:00:00.000000000Z" [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications 中的无效 gemspec /rack-cache-1.0.3.gemspec]:规范中的无效日期格式:“2011-08-27 00 :00:00.000000000Z" RubyGems 环境: - 红宝石版本:1.7.2 - 红宝石版本:1.8.7(2011-06-30 补丁级别 352)[i386-mingw32] - 安装目录:D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - RUBY 可执行文件:D:/RailsInstaller/Ruby1.8.7/bin/ruby.exe - 可执行目录:D:/RailsInstaller/Ruby1.8.7/bin - 红宝石平台: - 红宝石 - x86-mingw32 - 宝石路径: -D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - C:/文档和设置/jeygokul/.gem/ruby/1.8 - 宝石配置: - :update_sources => 真 - :详细 => 真 - :基准 => 假 - :回溯 => 假 - :bulk_threshold => 1000 - 远程资源: - http://rubygems.org/【问题讨论】: