Change rspec settings in Rakefile to fix build errors on Travis.