loads railtie class if Rails is defined