Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use ruby-mode for Gemfile and rackup files

  • Loading branch information...
commit d7439fe93e2da4265edd24333579838e490fda85 1 parent 7297c0a
@smerritt smerritt authored committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 starter-kit-ruby.el
View
4 starter-kit-ruby.el
@@ -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")
Please sign in to comment.
Something went wrong with that request. Please try again.