Updated rakefile to work on travis-ci