add gen.rb and Gemfile