gui training for by ruby