TextMate And Rails 2.1

Posted by Tobias Mueller

While porting an old rails application I noticed that TextMate didn't make syntax highlightning for the new view file extension ".html.erb".
Simply open the bundle editor go to the RubyOnRails section, select the HTML(Rails) entry and on the right javascript window on the second line add 'erb' to the filetypes.
fileTypes = ( 'rhtml', 'erb' );

That's it.

TrackBack

TrackBack URL for this entry:
http://www.infobean.de/cgi-bin/mt/mt-tb.cgi/111

Post a comment