Skip to content

Commit

Permalink
Fix for rails 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
infused committed Dec 3, 2008
1 parent 9e674ae commit 30a05d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rails/init.rb
Expand Up @@ -3,8 +3,7 @@
require 'job'
require 'job/bonus_features'

# ActiveSupport::Dependencies will be here after edge becomes stable.
Dependencies.load_paths << "#{RAILS_ROOT}/lib/workers"
ActiveSupport::Dependencies.load_paths << "#{RAILS_ROOT}/lib/workers"

if ActiveRecord::Base.method_defined?(:allow_concurrency) and ActiveRecord::Base.allow_concurrency
Job.send!(:include, Job::BonusFeatures)
Expand Down

0 comments on commit 30a05d8

Please sign in to comment.