fixes #4828 - pin rake for Ruby 1.8 compatibility