generate code by ruby
Add rake task