Only load the generator if Rails is defined and Version is greater than 3
Merge pull request #7 from mauriciovieira/master

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