redmine安装问题
zwwjs 2012-11-22 04:59:03 登录redmine后,点击“文件/新增”或者点击“活动”都会报下面的错误
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your redMine administrator for assistance.
网上看到有人说在redmine/config/environment.fb中添加以下代码
module ActionView
module Helpers
module TextHelper
def truncate(text, length = 30, truncate_string = "...")
if text.nil? then return end
l = length - truncate_string.chars.to_a.size
(text.chars.to_a.size > length ? text.chars.to_a[0...l].join + truncate_string : text).to_s
end
end
end
end
可是我的config下面没有environment.fb文件,只有environment.rb.
请高手指教啊!