ruby problem