2

I am using text mate on the mac whilst learning Ruby on Rails. However the backup files (.ru) don't have any syntax highlighting and I can't find any bundles for these for text mate. Does anyone have any ideas?

Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
MikeRay1
  • 108
  • 7
  • Btw this files are the "rackup" files. Your (rack-compatible) web server will search for this file and start every application inside defined. – Mario Uher Jul 24 '11 at 17:46

1 Answers1

11

Just select Ruby from the bottom bar select menu or hit ⌃⌥⇧R (Control + Option + Shift + R):


And for saving this preference permanently, go to Bundles -> Bundle Editor -> Edit Languages ... -> Ruby and here search for an Array called fileTypes and add 'ru' to it:

Mario Uher
  • 12,249
  • 4
  • 42
  • 68