To cook ribs on the grill wrap them in aluminum foil and prepare the grill for indirect heat. That means, have the heat source of your grill on for only half of your grill. Cook for 1 1/2 to 2 hours. Then, the best part, take the ribs out and put them on direct heat and brush on plenty of BBQ sause. smoother with sauce and cook for another 15 – 20 minutes.