Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
😄

Kenichi Takahashi kenchan

💭
😄
View GitHub Profile
View gist:701520
def generate
sei = %w( 西 ).sort_by{rand}
mei1 = %w( ).sort_by{rand}
mei2 = %w( ).sort_by{rand}
names = []
sei.each do |s1|
sei.each do |s2|
mei1.each do |m1|
mei2.each do |m2|
View application_template.rb
# Copy database.yml
run 'cp config/database.yml config/database.yml.example'
# Delete unnecessary files
run 'rm public/index.html'
# Install gems
gem 'amatsuda-i18n_generators', :source => 'http://gems.github.com', :lib => false
gem 'rspec-rails', :lib => false
gem 'cucumber', :lib => false