When I include a gem that I made, thanks to Bundler (version 1.0.12), in a Gemfile and then I try to bundle or to rake just like that:
$ rake
I\
Don't specify the time... just the date. 2011-04-21
should work fine.
Here is the way I fix the "invalid date format in specification" error:
1.) Go to the specifications folder located at:
/usr/local/lib/ruby/gems/1.8/specifications/
2.) Find the spec that is causing the problem.
3.) Change s.date = %q{2011-05-21 00:00:00.000000000Z}
to s.date = %q{2011-05-21}
That's a WIN for me! Good Luck
On my slicehost server the specifications folder was located in a different spot. Here is the path:
/usr/lib/ruby/gems/1.8/specifications
The error provided should give the path to the specifications folder.