Ragost’s last ability will check as the end step starts to see if you gained life this turn. If you haven’t, the ability won’t trigger at all. You won’t be able to gain life during your end step in time to have the ability trigger.