Mysql database.yml file copy and precompiled assets files