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

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Tue Sep 13 20:15:17 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


seb128 at ubuntu.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |NOTABUG




------- Additional Comments From seb128 at ubuntu.com  2005-09-13 21:15 UTC -------
it has it:

    <magic>
      <match value="/bin/env ruby" type="string" offset="1:16"/>
      <match value="/bin/ruby" type="string" offset="1:16"/>
    </magic>
    <glob pattern="*.rb"/>

The .rb is used when listing folder file with nautilus by example, the real mime
(mimemagic) is used when opening it. Maybe that's not optimal but using the
filename is less optimal that using the content, that's why that works this way.
I'm closing that as NOTABUG

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