Skip to content

Instantly share code, notes, and snippets.

@whiteskull
whiteskull / standart.rb
Last active December 14, 2015 00:59
Create a new application in Rails
run 'rm public/index.html'
if yes? 'Would you like to use haml instead erb?(y/n) >'
gem 'haml-rails'
gem 'hpricot', :group => :development
gem 'ruby_parser', :group => :development
run 'bundle install'
initializer 'generator.rb', <<-INIT
Rails.application.config.generators do |g|