updated Rakefile with error handling for rspec so can deploy to heroku