Fixing rake generate error