Specified the correct rails version while generating a rails app