background-fu icon indicating copy to clipboard operation
background-fu copied to clipboard

require 'job' and require 'job/bonus_features' not found

Open Olli opened this issue 16 years ago • 1 comments

In rails/init.rb requiering the job files didn't work. The fix solve this issue:

diff --git a/rails/init.rb b/rails/init.rb
index 94ed1be..215a29a 100644
--- a/rails/init.rb
+++ b/rails/init.rb
@@ -1,12 +1,12 @@
 require 'background_fu'
 require 'background_fu/worker_monitoring'
-require 'job'
-require 'job/bonus_features'
+require 'background_fu/job'
+require 'background_fu/job/bonus_features'
 
 ActiveSupport::Dependencies.load_paths 

Olli avatar Mar 07 '10 10:03 Olli

Sorry for late answer, we're in the process of a big rewrite fo b-fu for Rails3. The current master will be Rails3 only (we don't want backward compatibility). There's a stable branch too (1-0-stable) for Rails 2.x, if you want, send me a pull request I'll happily merge your fixes into the stable 2.x branch.

Thanks, Jacek

ncr avatar Mar 18 '10 09:03 ncr