add workaround for rubygems/rubygems#763
add rake and rdoc as development dependencies, for ruby 1.8.7 tests.