Try keeping your fruit flies in warm place, but not a hot place (22-25 ºC or so), and if they seem a bit dry, keep them in a loose fitting plastic bag. If the larvae crawl up the side to pupate that is perfect - if they crawl to the very top, to the lid, it is too humid - if they pupate on the...