Package: ruby-select2-rails / 3.5.9.3-2

engine-root.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: ruby-select2-rails/lib/select2-rails/engine.rb
===================================================================
--- ruby-select2-rails.orig/lib/select2-rails/engine.rb
+++ ruby-select2-rails/lib/select2-rails/engine.rb
@@ -1,6 +1,7 @@
 module Select2
   module Rails
     class Engine < ::Rails::Engine
+      config.root = '/usr/share/ruby-select2-rails'
       initializer :images do |app|
         app.config.assets.precompile +=
           %w(select2.png select2-spinner.gif select2x2.png)