Fix for projects that do not have Rails::Railtie