Added third option to rew function which allows for building a new rails project using local rails setup template options.