fix rails version dup