Invalid gemspec in [/var/lib/gems/1.8/specifications/ problem

    This is a date format problem with gems so to fix this run following command
      root@ubuntu$ sudo sed -i 's/ 00:00:00.000000000Z//' /var/lib/gems/1.8/specifications/*
    5
    Average: 5 (1 vote)