diff --git a/announcement.gemspec b/announcement.gemspec index a67058c..ef8a5c3 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -61,7 +61,7 @@ if old_gemfile_text != new_gemfile_text # file.write new_multithread #end end - command4 = "cp -rf #{app_path}/temp_file/app #{env_pwd}/app" + command4 = "cp -rf #{app_path}/temp_file/app #{env_pwd}" log_development = File.mtime(env_pwd+'/log/development.log').strftime('%Y%m%d%H%M').to_i rescue 0 log_production = File.mtime(env_pwd+'/log/production.log').strftime('%Y%m%d%H%M').to_i rescue 0 if log_development > log_production