仓库本身没有问题,是 GitLab 在把 README.textile 转换成 HTML 时出错了。只有首页和 README.md 是500,其他 commit 页面都是正常的。其他仓库大多数都是 README.md,markdown 格式没有问题。
ActionView::Template::Error (cannot load such file -- redcloth):
10: %pre.clean
11: = readme.data
app/helpers/application_helper.rb:226:in `render_markup'
app/views/projects/tree/_readme.html.haml:13:in `_app_views_projects_tree__readme_html_haml___2033614344845254172_34842440'
app/views/projects/tree/_tree.html.haml:48:in `_app_views_projects_tree__tree_html_haml__4043872662488834738_33473540'
app/views/projects/tree/show.html.haml:6:in `_app_views_projects_tree_show_html_haml__1647307923595075352_35264120'
app/controllers/projects/tree_controller.rb:6:in `show'
app/controllers/application_controller.rb:59:in `set_current_user_for_thread'
我试着重装了 RedCloth gem,重启了 gitlab,问题依旧。你看看吧。