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
  • #6955

Closed
Open
Created May 11, 2014 by Administrator@rootOwner

Missing org-ruby causes 500 error

Created by: andschwa

So this is weird, considering I didn't think the org-mode feature was anywhere near to being implemented. I'm on Gitlab v6.8.1, with gitlab-shell 1.9.4. bundle exec rake gitlab:check RAILS_ENV=production returns all good.

When attempting to navigate the files of a repo with a readme.org file, the following error shows up in production.log:

Started GET "/academic/brood-recombination/tree/master" for 1.2.3.4 at 2014-05-10 20:47:57 -0700
Processing by Projects::TreeController#show as HTML
  Parameters: {"project_id"=>"academic/brood-recombination", "id"=>"master"}
Completed 500 Internal Server Error in 236ms

ActionView::Template::Error (cannot load such file -- org-ruby):
    10:       %pre.clean
    11:         = readme.data
    12:     - elsif markup?(readme.name)
    13:       = render_markup(readme.name, readme.data)
  app/helpers/application_helper.rb:226:in `render_markup'
  app/views/projects/tree/_readme.html.haml:13:in `_app_views_projects_tree__readme_html_haml___2596988194123107777_69920555603100'
  app/views/projects/tree/_tree.html.haml:48:in `_app_views_projects_tree__tree_html_haml__2552595535634779613_69920558052340'
  app/views/projects/tree/show.html.haml:6:in `_app_views_projects_tree_show_html_haml___3042365987198871129_69920559408780'
  app/controllers/projects/tree_controller.rb:6:in `show'
  app/controllers/application_controller.rb:59:in `set_current_user_for_thread'

Out of curiosity I tried to install the org-ruby gem, but that didn't help.

Assignee
Assign to
Time tracking