invoke certain rake tasks only once

This PR can fix https://github.com/skinnyworm/wechat-rails/issues/1