Fixed syntax error in rake tasks