File: engine-root.patch

package info (click to toggle)
ruby-rails-assets-diaspora-jsxc 0.1.5%2Bdfsg2~develop.7-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 1,660 kB
  • ctags: 23
  • sloc: ruby: 48; sh: 12; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: set rails engine root
 debian specific
Author: Pirate Praveen <praveen@debian.org>
Last-Updated: 2015-01-11
Index: ruby-rails-assets-diaspora-jsxc/lib/rails-assets-diaspora_jsxc.rb
===================================================================
--- ruby-rails-assets-diaspora-jsxc.orig/lib/rails-assets-diaspora_jsxc.rb
+++ ruby-rails-assets-diaspora-jsxc/lib/rails-assets-diaspora_jsxc.rb
@@ -36,6 +36,7 @@ module RailsAssetsDiasporaJsxc
 
   if defined?(Rails)
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-rails-assets-diaspora-jsxc'
       # Rails -> use app/assets directory.
     end
   end