Permalink
Browse files

Use ruby-mode for Gemfile and rackup files

  • Loading branch information...
smerritt authored and technomancy committed Oct 8, 2009
1 parent 7297c0a commit d7439fe93e2da4265edd24333579838e490fda85
Showing with 3 additions and 1 deletion.
  1. +3 −1 starter-kit-ruby.el
View
@@ -14,10 +14,12 @@
(global-set-key (kbd "C-h r") 'ri)
-;; Rake files are ruby, too, as are gemspecs.
+;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles.
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.ru$" . ruby-mode))
+(add-to-list 'auto-mode-alist '("Gemfile$" . ruby-mode))
;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc")

0 comments on commit d7439fe

Please sign in to comment.