For me, my foreign country rail rides have been:
Jamaica: Jamaica Railway Corporation when I was a teen, one of the trips was by myself from Kingston to the Mandeville area in the center of the island to visit relatives while my parents and siblings drove in the car. This train nut felt so grown up
Canada: GO Transit; Toronto Transit Commission (TTC) - When visiting relatives in the Toronto metropolitan area