File: railtie-root.patch

package info (click to toggle)
ruby-task-list 1.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 236 kB
  • ctags: 64
  • sloc: ruby: 320; sh: 15; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: ruby-task-list/lib/task_list/railtie.rb
===================================================================
--- ruby-task-list.orig/lib/task_list/railtie.rb
+++ ruby-task-list/lib/task_list/railtie.rb
@@ -1,7 +1,7 @@
 class TaskList
 
   def self.root_path
-    @root_path ||= Pathname.new(File.expand_path("../../../", __FILE__))
+    @root_path ||= Pathname.new("/usr/share/ruby-task-list")
   end
 
   def self.asset_paths