Load Railtie only when Rails is defined