run command from correct location and check to make sure a rakefile exists