To build a gable roof you need to cut all of the rafters the same length, according to the length that's required. Use a 2 inch by up to 12 inch board for the ridge board. You can choose whether or not to cut it before you begin framing. Lay plywood across the ceiling joists for the entire length of the building. Pass up the ridge board or boards if you need more than one and lay it on the
. plywood that's on top. Then you get the rafters up on the same manner, and lay them with the top end lying on top of the top plate. Secure two rafters to one of the sides with nails, put in a stud on the gable's end that extends from the ridge to the top plate, install the rest of the rafters as you build a gabled roof.