File: engine-root.patch

package info (click to toggle)
ruby-jquery-rails 4.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,712 kB
  • sloc: javascript: 20,590; ruby: 184; sh: 49; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use /usr/share/$pkg as engine root
 This patch is Debian-specific
Author: Antonio Terceiro <terceiro@debian.org>

---

Index: ruby-jquery-rails/lib/jquery/rails/engine.rb
===================================================================
--- ruby-jquery-rails.orig/lib/jquery/rails/engine.rb
+++ ruby-jquery-rails/lib/jquery/rails/engine.rb
@@ -1,6 +1,7 @@
 module Jquery
   module Rails
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-jquery-rails'
     end
   end
 end