Add block to require and extend for versions without Railtie