update rails_template.rb for rails 4.x

remove the "public/index.html" file only if it exist, rails 4.x don't have this file.