fixing Rakefile for Travis CI build