Fix #100 Update rakefile to use invoke method