Change require to rails/generators/base

See https://github.com/rails/rails/issues/12802#issuecomment-28095045