Sha256: 1749db54810fdd09cbfffa21a2bee2c71cb4b70259d12f312a3b06c223b494a0
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 Bytes
Contents
require 'rails/generators' module Hist class InstallGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc "InstallGenerator Hist Engine" def copy_initializers generate 'hist:initializer' end def generate_migration_scripts generate 'hist:db' end def insert_to_routes generate 'hist:routes' end def bundle_install Bundler.with_clean_env do run 'bundle install' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hist-0.2.0 | lib/generators/hist/install_generator.rb |