Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzido committed May 14, 2018
1 parent de6e251 commit b006754
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
require 'rubygems'
require 'bundler'
Bundler.require

# Disable LittleCMS when running in JVM >= 1.8
# https://pdfbox.apache.org/2.0/getting-started.html
jvmajor, jvminor = java.lang.System.getProperty('java.specification.version').split('.')
if !jvminor.nil? && jvminor.to_i >= 8
java.lang.System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider")
end

require_relative './webapp/tabula_settings.rb'
require_relative './webapp/tabula_web.rb'

Expand Down

0 comments on commit b006754

Please sign in to comment.