Only load the generator if Rails is defined and Version is greater than 3