gitlabhq/gitlabhq — Issue #159: Error 500 when creating new project
Author: deanperry
Created: 2011-11-28 23:07:56+00:00
State: open

I get this show in the log

Started GET "/123?notice=Project+was+successfully+created." for 192.168.1.7 at 2011-11-28 15:04:56 -0800
Processing by ProjectsController#show as HTML
Parameters: {"notice"=>"Project was successfully created.", "id"=>"123"}
Rendered projects/empty.html.erb within layouts/project (1.9ms)
Completed 500 Internal Server Error in 18ms

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:

12:

13:

Next steps:

app/views/projects/empty.html.erb:10:in `_app_views_projects_empty_html_erb__202644793_103604480'
app/controllers/projects_controller.rb:68:in `show'