Invalid date format specification in gemspec
Invalid date format specification in gemspec
Upgrading RubyGems to 1.8.10.
gem update --system
or,
gem install rubygems-update update_rubygems
The “spec” files Ruby directory: *C:\Ruby187\lib\ruby\gems\1.8\specifications*, contains something like this: s.date = %q{2011-10-13 00:00:00.000000000Z} Then delete the 00:00:00.000000000Z part: s.date = %q{2011-10-13}
Using gem update –system used gem install <gem with bad gemspec> on each of the item gem env reported it cleaned up the errors on machine
Invalid gemspec in [/var/lib/gems/1.8/specifications/chronic-0.6.4.gemspec]: invalid date format in specification: “2011-09-09 00:00:00.000000000Z”
The simple fix to such kind of problem is to navigate to the file.. for eg.
Step 1. cd /var/lib/gems/1.8/specifications
step 2. open the file(chronic-0.6.4.gemspec) in editor of ur choice… (gedit chronic-0.6.4.gemspec)
step 3. change the s.date = %q{2011-10-13 00:00:00.000000000Z} to s.date = %q{2011-10-13}