From 4046c7d90bccc8c3dc841008f0045a4f1f31110c Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Thu, 17 Jun 2010 18:03:29 +1200 Subject: [PATCH] ensure file permissions are correct for execution of script/ tasks after copying them. --- vendor/plugins/refinery/lib/tasks/refinery.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/plugins/refinery/lib/tasks/refinery.rake b/vendor/plugins/refinery/lib/tasks/refinery.rake index 2370e38904..c01328bc4c 100644 --- a/vendor/plugins/refinery/lib/tasks/refinery.rake +++ b/vendor/plugins/refinery/lib/tasks/refinery.rake @@ -140,6 +140,7 @@ namespace :refinery do # update the script directory for any fixes that have happened. FileUtils::cp_r Dir[Refinery.root.join('script', '*').to_s], Rails.root.join('script').to_s + FileUtils::chmod_R 0755, Rails.root.join('script').to_s # add the cucumber environment file if it's not present unless (cucumber_environment_file = Rails.root.join('config', 'environments', 'cucumber.rb')).exist?