Permalink
Browse files

fix Syntax error with ruby 1.8.7. backend.rb:18: unexpected tSYMBEG, …

…expecting tAMPER (SyntaxError)
  • Loading branch information...
1 parent 40d7cd5 commit 0b3bc8665e1432094f68dd36b797e3741fa69488 @wanglian wanglian committed Sep 21, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/dj_mon/backend.rb
View
@@ -14,8 +14,9 @@ def used_backend
raise "DjMon has no backend for '#{delayed_job_backend}'"
end
end
-
- delegate *BACKEND_METHODS, {:to => :used_backend}
+
+ BACKEND_METHODS << {:to => :used_backend}
+ delegate *BACKEND_METHODS
end
end
end

0 comments on commit 0b3bc86

Please sign in to comment.