How to fix the code of the .rb file is highlighted. It’s almost as if it doesn’t know it is a Ruby file.
After doing this, TextMate should remember .rb file should use Ruby type.
I use Textmate version 1.5.15 (1523) on OX X Snow Leopard. My .rb file only has basic highlights Display, highlighting breaks on every appearance of the double-quoted string. The syntax has been checked and it works.
How to fix the code highlighting of the .rb file. It’s almost as if it is Don’t know it’s a Ruby file.
When opening the .rb file, make sure to set the syntax/filetype to Ruby. In the “Status Bar” at the bottom of the window On the right side of the row/column number, you can click on the file type and select “Ruby” (it may be set to something else).
After doing this, TextMate should remember The .rb file should use Ruby type.