Class: Lcms::Engine::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/lcms/engine/install/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_config_filesObject



11
12
13
# File 'lib/generators/lcms/engine/install/install_generator.rb', line 11

def copy_config_files
  directory File.expand_path('templates/config', __dir__), Rails.root.join('config')
end

#update_gemfileObject



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