[Bug 15022] gedit doesn't recognize automatically Ruby files

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Sep 13 12:42:34 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 seb128 at ubuntu.com  2005-09-13 13:42 UTC -------
an empty file is not a ruby file. According to
/usr/share/mime/packages/freedesktop.org.xml:
"    <magic>
      <match value="/bin/env ruby" type="string" offset="1:16"/>
      <match value="/bin/ruby" type="string" offset="1:16"/>
    </magic>
"

so it has to start by "bin/env ruby" or "/bin/ruby". Could you attach a bogus
ruby file?

-- 
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