Liferay开始在日志中生成多个异常,对Unable to parse SASS on CSS
等许多根文件说/usr/share/tomcat6/webapps/ROOT/html/css/portal/header_row.css
。
文件存在且一目了然。
答案 0 :(得分:1)
停止服务器并清理tmp目录(java和tomcat), 从liferay 6.1 M4发布获取jruby.jar, 将jar复制到ROOT / WEB-INF / lib文件夹中, 编辑您的portal-ext.properties以添加:
scripting.jruby.load.paths=\
classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8,\
classpath:/META-INF/jruby.home/lib/ruby/site_ruby/shared,\
classpath:/gems/chunky_png-1.2.6/lib,\
classpath:/gems/compass-0.12.2/lib,\
classpath:/gems/fssm-0.2.9/lib,\
classpath:/gems/sass-3.2.1/lib,\
${java.io.tmpdir}/liferay/ruby/gems/chunky_png-1.2.6/lib,\
${java.io.tmpdir}/liferay/ruby/gems/compass-0.12.2/lib,\
${java.io.tmpdir}/liferay/ruby/gems/fssm-0.2.9/lib,\
${java.io.tmpdir}/liferay/ruby/gems/sass-3.2.1/lib