Handle 1.9.0 (development) version of onResourceError
Create separate gem