我在Windows 8.1上通过新的Cygwin Ruby安装(通过Cygwin的setup.exe)获得以下内容:
$ ruby -v
ruby 2.0.0p481 (2014-05-08) [x86_64-cygwin]
$ ruby
/usr/share/rubygems/rubygems/specification.rb:103:in `utc': time out of range (ArgumentError)
from /usr/share/rubygems/rubygems/specification.rb:103:in `<class:Specification>'
from /usr/share/rubygems/rubygems/specification.rb:37:in `<top (required)>'
from /usr/share/rubygems/rubygems.rb:1203:in `require'
from /usr/share/rubygems/rubygems.rb:1203:in `<module:Gem>'
from /usr/share/rubygems/rubygems.rb:115:in `<top (required)>'
from <internal:gem_prelude>:1:in `require'
from <internal:gem_prelude>:1:in `<compiled>'
有关如何解决此问题的任何提示?
102行和103行:
today = Time.now.utc
TODAY = Time.utc(today.year, today.month, today.day) # :nodoc: