Error 500 on viewing commit history
I'm working with Linux kernel project on a self-provising gitlab omnibus installation (7.8 on Ubuntu 14.04) and gitlab.com. I'm always having error 500 when looking, e.g. to Makefile or README history:
https://gitlab.com/amonthedeamon/linux-kernel-test/commits/master/Makefile
https://gitlab.com/amonthedeamon/linux-kernel-test/commits/master/README
It seems that the issue is the same in both installation. Here it is my local log
==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/axel/linux-2.6-imx/commits/axel/README" for 127.0.0.1 at 2015-02-24 09:57:55 +0100
Processing by Projects::CommitsController#show as HTML
Parameters: {"project_id"=>"axel/linux-2.6-imx", "id"=>"axel/README"}
Completed 500 Internal Server Error in 14291ms
ActionView::Template::Error (undefined method `chomp' for nil:NilClass):
12: = nav_link(controller: :tags) do
13: = link_to project_tags_path(@project) do
14: Tags
15: %span.badge.js-totaltags-count= @repository.tags.length
app/models/repository.rb:169:in `method_missing'
app/views/projects/commits/_head.html.haml:15:in `block (2 levels) in _app_views_projects_commits__head_html_haml__2317756360178417013_106094020'
app/helpers/application_helper.rb:280:in `link_to'
app/views/projects/commits/_head.html.haml:13:in `block in _app_views_projects_commits__head_html_haml__2317756360178417013_106094020'
app/helpers/tab_helper.rb:55:in `nav_link'
app/views/projects/commits/_head.html.haml:12:in `_app_views_projects_commits__head_html_haml__2317756360178417013_106094020'
app/views/projects/commits/show.html.haml:1:in `_app_views_projects_commits_show_html_haml__1826394745912205430_106307280'
app/controllers/projects/commits_controller.rb:18:in `show'