Verify if Rails is defined