Class: Txray::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Txray::Generators::InstallGenerator
- Defined in:
- lib/generators/txray/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_config ⇒ Object
12 13 14 |
# File 'lib/generators/txray/install_generator.rb', line 12 def create_config copy_file "txray.yml", ".txray.yml" end |
#explain ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/generators/txray/install_generator.rb', line 16 def explain say "" say "Scan the application:", :green say " bundle exec txray" say "" say "To watch transactions live, set runtime.enabled to true in .txray.yml,", :green say "make sure the Gemfile does not say require: false, restart, then run:" say " bundle exec txray watch" say "" end |