lib/generators/flux_flex/install_generator.rb in flx-tools-0.2.0 vs lib/generators/flux_flex/install_generator.rb in flx-tools-0.3.0
- old
+ new
@@ -27,9 +27,13 @@
def copy_dot_htaccess
template '.htaccess', File.join('public', '.htaccess')
end
+ def copy_config_database
+ template 'database.yml', File.join('config', 'database.yaml')
+ end
+
def insert_gems
gemfile = 'Gemfile'
if File.exists?(gemfile)
body = File.read(gemfile)
File.open(gemfile, 'a') do |f|