Fix gems $PATH order.