fix rails/ruby install error