File: engine-root.patch

package info (click to toggle)
ruby-js-image-paths 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 100 kB
  • ctags: 10
  • sloc: ruby: 37; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 629 bytes parent folder | download
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: 31-12-2014

Index: ruby-js-image-paths-0.0.1/lib/js_image_paths/engine.rb
===================================================================
--- ruby-js-image-paths-0.0.1.orig/lib/js_image_paths/engine.rb
+++ ruby-js-image-paths-0.0.1/lib/js_image_paths/engine.rb
@@ -1,6 +1,6 @@
 module JsImagePaths
   class Engine < Rails::Engine
-
+    config.root = '/usr/share/ruby-js-image-paths'
     isolate_namespace(JsImagePaths)
 
     initializer('js_image_paths.compile', after: 'sprockets.environment') do |application|