File: engine-root.patch

package info (click to toggle)
ruby-rails-assets-markdown-it 8.4.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 384 kB
  • sloc: javascript: 4,461; sh: 41; ruby: 36; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Set rails engine root
 Debian specific
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2015-03-31

Index: ruby-rails-assets-markdown-it-4.0.3/lib/rails-assets-markdown-it.rb
===================================================================
--- ruby-rails-assets-markdown-it-4.0.3.orig/lib/rails-assets-markdown-it.rb
+++ ruby-rails-assets-markdown-it-4.0.3/lib/rails-assets-markdown-it.rb
@@ -25,6 +25,7 @@ module RailsAssetsMarkdownIt
 
   if defined?(Rails)
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-rails-assets-markdown-it'
       # Rails -> use app/assets directory.
     end
   end