Error when viewing project without available code
Created by: yholkamp
I've upgraded my checkout of gitlabhq today to the latest HEAD and after creating a new project the following error pops up in the log. Apparently the bash_lexer isn't available since the changes for v1.1 in commit 6b030fd41d697e327d2935b406cba70b6a460504.
ActionView::Template::Error (undefined method `highlight' for nil:NilClass):
7: git config --global user.email "#{current_user.email}"
8: eos
9: %>
10: <%= raw bash_lexer.highlight(setup_str) %>
11: <br />
12: <br />
13: <h2>Next steps:</h2>
app/views/projects/empty.html.erb:10:in `_app_views_projects_empty_html_erb___4056466798298364121_55574120'
app/controllers/projects_controller.rb:63:in `show'