RUBY ON RAILS - Bundler Gemfile syntax highlight in Text Mate
Translations
Englishالعربية
български
català
中文
čeština
dansk
Nederlands
eesti
suomi
français
Deutsch
Ελληνικά
עברית
हिंदी
magyar
Bahasa Indonesia
italiano
日本語
한국어
latviešu
lietuvių
norsk
polski
Português
română
русский
slovenčina
slovenski
español
svenska
ไทย
Türkçe
українська
Tiếng Việt
Hello I'm learning Rails3 so I start to use gem Bundler (http://github.com/carlhuda/bundler) Does anybody know, how to setup TextMate to highlight Gemfile syntax? Thanks!
This question and answers originated from www.stackoverflow.com
Question by A.B (7/4/2010 11:16:21 AM)
Answer |
In Textmate, select the Bundles menu => Bundles editor
Select languages instead of show all.
Select the Ruby on Rails language within the Ruby on rails bundle
Change this line:
fileTypes = ( 'rb', 'rxml', 'builder' );
to this:
fileTypes = ( 'rb', 'rxml', 'builder', 'Gemfile' );
Go to Bundles => Bundles Editior => Reload Bundles.
Reopen your Gemfile and you should now be getting the syntax highlighting.
Answer by allesklar
Find More Answers
Related Topics ruby-on-rails textmate bundler