Textmate-like Gedit in few steps
Textmate is really a great text-editor (almost an IDE but faster), it has even the support for latest Ruby/Rails technologies like RSpec. On the GNU/Linux side there are also similar full-featured text editor and one is Gedit.
Gedit can be extended by plugins written in C or in Python, here is a tutorial how to set up a Textmate-like Gedit.
Syntax highlight for RHTML, RJS
By default Gedit supports a lot of languages php, C#, java,.. and Ruby, but Ruby embedded. To enable the sintax highlight in HTML files with embedded ruby code (.rhtml) you have to add 2 files (Thanks to Bitsbam).
From the terminal:
$ wget
http://grigio.org/files/x-rhtml.xml; sudo mv x-rhtml.xml /usr/share/mime/packages
$ wget
http://grigio.org/files/rhtml.lang; sudo mv rhtml.lang /usr/share/gtksourceview-1.0/language-specs/
Select the plugin you need
The list of the plugins avalaible is growing fast; this is a list of plugins that work well each other.
http://grigio.org/textmate_gedit_few_steps
截图: