warning: assigned but unused variable - tries

This patch tries to eliminate a ruby warning using an unused variable tries.