gitlab 5.0.0 fails to view files in web
Created by: Scaramush
When I click on any file in web view gitlab returns error 500. Here is log:
Started GET "/deployment_test/tree/master/test_for_5-0-0" for 127.0.0.1 at 2013-03-26 14:01:43 +0000
Processing by TreeController#show as HTML
Parameters: {"project_id"=>"deployment_test", "id"=>"master/test_for_5-0-0"}
Rendered shared/_ref_switcher.html.haml (1.8ms)
Rendered tree/_blob_actions.html.haml (3.8ms)
Rendered tree/_blob.html.haml (8.8ms)
Rendered tree/_tree.html.haml (10.6ms)
Rendered tree/show.html.haml within layouts/project_resource (12.9ms)
Completed 500 Internal Server Error in 45ms
ActionView::Template::Error (could not find any magic files!):
1: .btn-group.tree-btn-group
2: -# only show edit link for text files
3: - if @tree.text?
4: = link_to "edit", edit_project_tree_path(@project, @id), class: "btn btn-tiny", disabled: !allowed_tree_edit?
5: = link_to "raw", project_blob_path(@project, @id), class: "btn btn-tiny", target: "_blank"
6: -# only show normal/blame view links for text files
app/models/tree.rb:6:in text?' app/views/tree/_blob_actions.html.haml:3:in
_app_views_tree__blob_actions_html_haml___2551229882467237456_36426820'
app/views/tree/_blob.html.haml:7:in _app_views_tree__blob_html_haml__240427460222267859_36267820' app/views/tree/_tree.html.haml:16:in
_app_views_tree__tree_html_haml__2471576975625041777_36534120'
app/views/tree/show.html.haml:4:in _app_views_tree_show_html_haml___2552324694425865904_36364800' app/controllers/tree_controller.rb:17:in
show'