How can I get Textmate to correctly highlight code in Ruby.rb files?

I am using version 1.5.15 (1523) of Textmate on Snow Leopard OX X. My .rb files have only rudimentary highlighting, and the highlighting is split into each kind of line with two quotes. The syntax is validated and valid.

How can I fix code allocation for .rb files. It is almost as if he did not know this Ruby file.

+3
source share
1 answer

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 .

+7

All Articles