diff --git a/app/models/dunlop/target_file_uploader.rb b/app/models/dunlop/target_file_uploader.rb index 3881e03..f890ae6 100644 --- a/app/models/dunlop/target_file_uploader.rb +++ b/app/models/dunlop/target_file_uploader.rb @@ -19,4 +19,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::TargetFileUploader + end end