Fix #82 Update rakefile to use invoke method