Help User Markdown Help fails with error 500
I have been trying to see the Markdown help with the latest 11.8 and 11.9 ebuilds without success.
The error at the bottom, was resolved by emerging ruby 2.5.5 (~amd64) and changing all references from ruby24 on ebuilds to ruby25.
Is it possible to change the references to ruby24 through an environment variable with ruby24 as default? Considering we already use the variables inside the ebuilds, this would give us the option to choose 2.4 or 2.5.
Error received on production.log when trying to visualize https://${DOMAIN}/help/user/markdown (generates a 500 response for user):
Started GET "/help/user/markdown" for 127.0.0.1 at 2019-03-30 21:22:09 -0600
Processing by HelpController#show as HTML
Parameters: {"path"=>"user/markdown"}
Completed 500 Internal Server Error in 389ms (ActiveRecord: 0.7ms)
ActionView::Template::Error (undefined method `delete_prefix' for "fnref1":String):
1: - page_title @path.split("/").reverse.map(&:humanize)
2: .documentation.wiki.prepend-top-default
3: = markdown @markdown
lib/banzai/filter/footnote_filter.rb:35:in `block in call'
lib/banzai/filter/footnote_filter.rb:34:in `call'
lib/banzai/pipeline/base_pipeline.rb:23:in `block (2 levels) in singleton class'
lib/banzai/renderer.rb:110:in `render_result'
lib/banzai/renderer.rb:141:in `block in cacheless_render'
lib/gitlab/metrics/influx_db.rb:100:in `measure'
lib/banzai/renderer.rb:140:in `cacheless_render'
lib/banzai/renderer.rb:30:in `render'
lib/banzai.rb:12:in `render'
app/helpers/markup_helper.rb:263:in `markdown_unsafe'
app/helpers/markup_helper.rb:100:in `markdown'
app/views/help/show.html.haml:3:in `_app_views_help_show_html_haml__2836022655917196146_47348189956780'
app/controllers/application_controller.rb:116:in `render'
app/controllers/help_controller.rb:36:in `block (2 levels) in show'
app/controllers/help_controller.rb:27:in `show'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:434:in `set_locale'
lib/gitlab/middleware/multipart.rb:103:in `call'
lib/gitlab/request_profiler/middleware.rb:16:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/correlation_id.rb:16:in `block in call'
lib/gitlab/correlation_id.rb:15:in `use_id'
lib/gitlab/middleware/correlation_id.rb:15:in `call'
lib/gitlab/middleware/read_only/controller.rb:40:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:26:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:29:in `call'
lib/gitlab/middleware/release_env.rb:13:in `call'