When you have a file open .rb, make sure that the syntax / file type parameter is set to Ruby. In the “status bar” at the bottom of the window to the right of the “Line / Column” numbers, you can click on the file type and select “Ruby” (it may be configured for something else).
TextMate , .rb Ruby .