Class: Eastrails::Components::Capistrano
Instance Method Summary collapse
Methods inherited from Base
#component_installed?, #dir_html_to_haml, #do_if_installed, #file_html_to_haml, #gems, #html_to_haml, #parse_gemfile
Methods inherited from Generator
Constructor Details
This class inherits a constructor from Eastrails::Generator
Instance Method Details
#add ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/eastrails/components/capistrano.rb', line 4 def add gem "capistrano", :group => :development system "capify ." uncomment_lines 'Capfile', /'deploy\/assets'/ copy_file "capistrano/deploy.rb", "config/deploy.rb" puts "===========================" puts "Please change your configuration in config/deploy.rb" end |