Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
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
  • #6874

Closed
Open
Created 11 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

ActionView::Template::Error (cannot load such file -- redcloth)

Closed

ActionView::Template::Error (cannot load such file -- redcloth)

Created by: patakijv

I am just starting to setup my repos using gitlab 6.8.1 - I created a repo that was imported from a github repo and when I try to view the files for the repo, I see a 500 Server Error.

I looked at the production.log from the admin view and I see this in the logs

ActionView::Template::Error (cannot load such file -- redcloth):
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__2964831252105440800_52400900'
app/views/projects/tree/_tree.html.haml:48:in `_app_views_projects_tree__tree_html_haml___3486050142794038871_51958080'
app/views/projects/tree/show.html.haml:6:in `_app_views_projects_tree_show_html_haml__1561303372484641073_49526720'
app/controllers/projects/tree_controller.rb:6:in `show'
app/controllers/application_controller.rb:59:in `set_current_user_for_thread'

I tried manually installing RedCloth from the command line. I also tried adding RedCloth to the Gemfile for gitlab.

Neither attempt changed anything.

What next?

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 11 years ago
      Owner

      Created by: patakijv

      Am I really the only one seeing this? Does anyone have any thoughts on what the solution is here?

      By Administrator on 2014-05-09T01:13:05 (imported from GitLab project)

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: tylux

      Hello @patakijv I just got this error (Gitlab v6.8.2) the repo's README file I cloned from github file was named README.textfile, I renamed it to just README, pushed it, and it fixed this error for me

      By Administrator on 2014-05-23T20:13:16 (imported from GitLab project)

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: berni2288

      +1

      By Administrator on 2014-06-10T11:14:52 (imported from GitLab project)

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: arnisoph

      @tylux that worked for me.

      Is this a Gitlab bug? Is a lib missing?

      By Administrator on 2014-08-02T23:08:14 (imported from GitLab project)

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: Razer6

      This will be fixed with GitLab 7.2 :) Redcloth gem is missing for proper markup rendering

      By Administrator on 2014-08-02T23:19:42 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help