Class: Boring::Avo::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Boring::Avo::InstallGenerator
- Defined in:
- lib/generators/boring/avo/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_avo_gem ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/generators/boring/avo/install/install_generator.rb', line 8 def add_avo_gem say 'Adding Avo gem', :green Bundler.with_unbundled_env do run 'bundle add avo' end end |
#configure_avo ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/generators/boring/avo/install/install_generator.rb', line 16 def configure_avo say 'Setting up Avo', :green Bundler.with_unbundled_env do run 'bundle exec rails generate avo:install' end end |