Class: Pu::Lite::SolidErrorsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pu::Lite::SolidErrorsGenerator
- Includes:
- PlutoniumGenerators::Concerns::ConfiguresSqlite, PlutoniumGenerators::Concerns::MountsEngines, PlutoniumGenerators::Generator
- Defined in:
- lib/generators/pu/lite/solid_errors/solid_errors_generator.rb
Instance Method Summary collapse
Methods included from PlutoniumGenerators::Generator
derive_association_name, find_shared_namespace, included
Methods included from PlutoniumGenerators::Concerns::Logger
#debug, #error, #exception, #info, #success, #warn
Methods included from PlutoniumGenerators::Concerns::Config
Instance Method Details
#start ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/generators/pu/lite/solid_errors/solid_errors_generator.rb', line 19 def start @db_name = [:database] bundle "solid_errors" add_sqlite_database(@db_name) run_solid_errors_install configure_application prepare_database(@db_name) mount_solid_errors_engine rescue => e exception "#{self.class} failed:", e end |