File: engine-root.patch

package info (click to toggle)
ruby-coffee-rails 4.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 204 kB
  • sloc: ruby: 174; makefile: 9
file content (16 lines) | stat: -rw-r--r-- 607 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: move assets out of the $LOAD_PATH
 This patch is Debian-specific
Author: Antonio Terceiro <terceiro@debian.org>

Index: ruby-coffee-rails/lib/coffee/rails/engine.rb
===================================================================
--- ruby-coffee-rails.orig/lib/coffee/rails/engine.rb
+++ ruby-coffee-rails/lib/coffee/rails/engine.rb
@@ -3,6 +3,7 @@ require 'rails/engine'
 module Coffee
   module Rails
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-coffee-rails'
       config.app_generators.javascript_engine :coffee
 
       if config.respond_to?(:annotations)