最佳答案
当我尝试在窗口中使用 gem 时,我得到了下面的错误,我还提到 这个堆栈溢出的帖子和更新的红宝石和轨道。但是没有什么可以解决这个问题。
以下是完全错误,
D:\>gem env Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00 .000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /execjs-1.2.4.gemspec]: invalid date format in specification: "2011-08-03 00:00: 00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /temple-0.3.3.gemspec]: invalid date format in specification: "2011-08-26 00:00: 00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /guard-0.6.3.gemspec]: invalid date format in specification: "2011-09-01 00:00:0 0.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /guard-livereload-0.3.1.gemspec]: invalid date format in specification: "2011-09 -01 00:00:00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /rack-cache-1.0.3.gemspec]: invalid date format in specification: "2011-08-27 00 :00:00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00 .000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /execjs-1.2.4.gemspec]: invalid date format in specification: "2011-08-03 00:00: 00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /temple-0.3.3.gemspec]: invalid date format in specification: "2011-08-26 00:00: 00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /guard-0.6.3.gemspec]: invalid date format in specification: "2011-09-01 00:00:0 0.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /guard-livereload-0.3.1.gemspec]: invalid date format in specification: "2011-09 -01 00:00:00.000000000Z" Invalid gemspec in [D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/specifications /rack-cache-1.0.3.gemspec]: invalid date format in specification: "2011-08-27 00 :00:00.000000000Z" RubyGems Environment: - RUBYGEMS VERSION: 1.7.2 - RUBY VERSION: 1.8.7 (2011-06-30 patchlevel 352) [i386-mingw32] - INSTALLATION DIRECTORY: D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - RUBY EXECUTABLE: D:/RailsInstaller/Ruby1.8.7/bin/ruby.exe - EXECUTABLE DIRECTORY: D:/RailsInstaller/Ruby1.8.7/bin - RUBYGEMS PLATFORMS: - ruby - x86-mingw32 - GEM PATHS: - D:/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8 - C:/Documents and Settings/jeygokul/.gem/ruby/1.8 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - REMOTE SOURCES: - http://rubygems.org/