cirandas.net

ref: master

plugins/web_odf/Gemfile


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
gem 'odf-report'

def require_bin name
  unless system "which #{name} > /dev/null"
    STDERR.puts "E: program #{name} is needed, but was not found in your PATH"
    exit
  end
end

require_bin 'loffice'