diff --git a/lib/active_storage/previewer/libreoffice_previewer.rb b/lib/active_storage/previewer/libreoffice_previewer.rb index 23c18b5ce..a039a8017 100644 --- a/lib/active_storage/previewer/libreoffice_previewer.rb +++ b/lib/active_storage/previewer/libreoffice_previewer.rb @@ -44,7 +44,7 @@ module ActiveStorage end def libreoffice_path - ENV['LIBREOFFICE_PATH'] || 'libreoffice' + ENV['LIBREOFFICE_PATH'] || 'soffice' end end end