[Bug 15022] gedit doesn't recognize automatically Ruby files
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Wed Sep 14 16:47:15 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=15022
Ubuntu | gedit
------- Additional Comments From mike at lepton.fr 2005-09-14 17:47 UTC -------
I added <glob pattern="*.rb"/> in /usr/share/mime/packages/freedesktop.org.xml
and Nautilus displayed the correct mime type (application/x-ruby).
But I also had to modify /usr/share/gtksourceview-1.0/language-specs/ruby.lang
because it only matches text/x-ruby, not application/x-ruby. I added the
application/x-ruby mime type (like in python.lang).
Then I had to remove my gedit config (I'm not sure why. It may save the
coloration of already opened file) and now it works perfectly. I can open any
.rb and have the Ruby coloration automatically selected.
BTW, the bug in freedesktop.org.xml was fixed on 2005-04-16 :
https://bugs.freedesktop.org/show_bug.cgi?id=2154
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the desktop-bugs
mailing list