Class: Lcms::Engine::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Lcms::Engine::Generators::InstallGenerator
- Defined in:
- lib/generators/lcms/engine/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config_files ⇒ Object
11 12 13 |
# File 'lib/generators/lcms/engine/install/install_generator.rb', line 11 def copy_config_files directory File.('templates/config', __dir__), Rails.root.join('config') end |
#update_gemfile ⇒ Object
15 16 17 18 19 20 |
# File 'lib/generators/lcms/engine/install/install_generator.rb', line 15 def update_gemfile # Required by lcms-engine because of unpublished gems are not automatically installed with the parent gem gem 'wicked_pdf', git: 'https://github.com/learningtapestry/wicked_pdf.git', branch: 'puppeteer-support', ref: '964a090' end |