From 8f4c8638865c0b5b05c67f03ff99d13739672ad1 Mon Sep 17 00:00:00 2001 From: David Campbell <102170536+davidcam-src@users.noreply.github.com> Date: Fri, 11 Oct 2024 14:46:28 -0400 Subject: [PATCH] updated path, previously encountered issues with remote permissions (#1125) --- lib/tasks/dissertations_page_count.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/dissertations_page_count.rake b/lib/tasks/dissertations_page_count.rake index 7a6cd0a95..5253e2903 100644 --- a/lib/tasks/dissertations_page_count.rake +++ b/lib/tasks/dissertations_page_count.rake @@ -71,7 +71,7 @@ namespace :dissertations do def write_to_csv(all_processed_dissertations, year) total_pages_all = 0 - path = File.join(Rails.configuration.log_directory, year ? "dissertations_page_count_#{year}.csv" : 'dissertations_page_count_all.csv') + path = File.join('/tmp', year ? "dissertations_page_count_#{year}.csv" : 'dissertations_page_count_all.csv') # Write the processed dissertations to a CSV file CSV.open(path, 'w') do |csv| # Write CSV headers