GA in ruby