Railtie and Require issues

Done.