Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby on Rails MIME and syntax files for gedit

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
language-specs
mime-packages
COPYING
COPYING.LESSER
Makefile a Makefile for installing
README.md

README.md

Gedit Rails Extensions

Here are some extensions for Ruby/Rails developers using gedit.

Install

The contained Makefile installs the MIME packages and syntax files to the system directories.

sudo make install
sudo update-mime-database /usr/share/mime

Restart gedit if it's already running.

For manually installing MIME packages:

sudo cp mime-packages/rails.xml /usr/share/mime/packages/
sudo update-mime-database /usr/share/mime

For manually installing syntax files (.lang):

sudo cp language-specs/*.lang /usr/share/gtksourceview-2.0/language-specs/ # for gedit-2
sudo cp language-specs/*.lang /usr/share/gtksourceview-3.0/language-specs/ # for gedit-3

MIME packages

rails.xml:

  • RHTML Template (*.rhtml, *.erb)
  • Ruby JavaScript (*.rjs)
  • Ruby Rakefile (Rakefile)
  • Ruby Rake Task (*.rake)
  • Ruby XML Template (*.rxml, *.builder)
  • YAML Document (*.yml)
  • Haml Template (*.haml)
  • Sass Stylesheet (*.sass)

Language Specs

  • haml.lang: Specs for the Haml templating language
  • rhtml.lang: Specs for the old Ruby HTML file type
  • sass.lang: Specs for the Sass Stylesheet language
Something went wrong with that request. Please try again.