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