RAILS3 GEM after_commit issue

I got rid of most of the deprecated stuff porting our app to RAILS3,
but the after_commit gem is giving this error and I cannot see how to
fix it from searching around:

include_after_commit_extensions': undefined method `subclasses_of' for
Object:Class (NoMethodError)