Renamed ruby file with .rb and deleted duplicate loop
Delete old

Created same file but with rb extension and deleted old duplicate loop