Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #56

Closed
Open
Created Oct 22, 2011 by Administrator@rootOwner

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 6b030fd4.

  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'
Assignee
Assign to
Time tracking