Solve gem Invalid gemspec invalid date format in specification on Ubuntu Oneiric 11.10

After upgrade into Ubuntu Oneirice 11.10, i got this error when doing "gem".

Invalid gemspec in [/var/lib/gems/1.8/specifications/json-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"


Solution is edit broken "gemspec" files ( [/var/lib/gems/1.8/specifications/json-1.5.4.gemspec ).
Change "s.date" into :

s.date = %q{2011-08-31}


Done! :)



You should follow me here

Comments

Compiling from source seems to address this as well and isn't too difficult. See Installing RubyGems at http://vagrantup.com/docs/getting-started/setup/ubuntu.html.

Thank you! You've made my day. I've been diggin for an hour for this.

I made those changes and it works fine now!!!

Thank you so much.

Thanks buddy, works really fine :D

Add new comment