From 4611432ea7b9eced7deeb7b6e29bb12b4938a42d Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Fri, 11 Oct 2019 07:32:33 -0500 Subject: [PATCH] provisioning --- app/models/dunlop/source_file_uploader.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/dunlop/source_file_uploader.rb b/app/models/dunlop/source_file_uploader.rb index 39c3356..c61a0b7 100644 --- a/app/models/dunlop/source_file_uploader.rb +++ b/app/models/dunlop/source_file_uploader.rb @@ -20,4 +20,8 @@ if defined?(CarrierWave) File.basename(path.to_s) end end +else + # provide empty one. Still under investigation, but there seems to be a strict provision requirement in ruby 2.7 and or rails 6 + class Dunlop::SourceFileUploader + end end