fixed how ruby is defined