Class: Refinery::CmsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Refinery::CmsGenerator
- Defined in:
- lib/generators/refinery/cms/cms_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/generators/refinery/cms/cms_generator.rb', line 21 def generate start_pretending? manage_roadblocks! unless self.[:update] ensure_environments_are_sane! stop_pretending? append_gemfile! append_gitignore! append_asset_pipeline! forced_overwriting? copy_files! create_decorators! mount! run_additional_generators! if self.[:fresh_installation] prepare_database! deploy_to_hosting? end |