uninitialized constant Rails::Generators (NameError)
It looks like the Rails generator modules were pulled out and not automatically loaded at some point during Rails 3 development. This is probably for good reasons.
You have to include them in custom generators:
require 'rails/generators'class ItrcClientFilesGenerator < Rails::Generators::Base # Fancy generator code hereend