rescue jammit if java isn't installed on the system. server will continue starting normally if this is the case.

This commit is contained in:
danielvincent 2010-11-17 23:00:19 -08:00
parent d1a745c9cd
commit b8e04d4888

View file

@ -43,7 +43,12 @@ end
def package_js
require 'jammit'
begin
Jammit.package!
rescue => e
puts "Error minifying assets, but server will continue starting normally. Is Java installed on your system?"
end
end
begin