Class: Capistrano::Generals::Generators::UnicornGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/capistrano/generals/unicorn_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_templateObject



11
12
13
14
# File 'lib/generators/capistrano/generals/unicorn_generator.rb', line 11

def copy_template
  copy_file 'unicorn.rb.erb', "#{templates_path}/unicorn.rb.erb"
  copy_file 'unicorn_init.sh.erb', "#{templates_path}/unicorn_init.sh.erb"
end