Requiring rails initializer if Rails is defined