Public bug reported:

Binary package hint: gedit

I create new or open existing *.rb file (Ruby script).

I see (in file manager) that it has application/x-ruby MIME type.

ruby.lang is defined:

[EMAIL PROTECTED]:/usr/share/gtksourceview-2.0/language-specs$ cat ruby.lang | 
grep mime
<property name="mimetypes">application/x-ruby;text/x-ruby</property>

But Gedit sets file language to 'None' and I need to change it manually
to Scripts -> Ruby to get syntax highlighting.

With all of the others file types language is set automatically.

How to make this happen with .rb?

ProblemType: Bug
Architecture: i386
Date: Mon Aug 18 14:39:04 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: fglrx
Package: gedit 2.22.3-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/var/lib/gems/1.8/bin
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
Uname: Linux 2.6.24-20-generic i686

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
Gedit doesn't recognize .rb (Ruby script) files automatically
https://bugs.launchpad.net/bugs/259031
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to