Fixed rdoc generation and publishing with rake doc:pages:publish.