don't try to use rails 4.0 yet!
only load if worker is defined