 (add-to-list 'auto-mode-alist '("\\.tpl\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.[agj]sp\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode))
+(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
 (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
 

;; Makefiles
(add-to-list 'auto-mode-alist '("\\.mak$" . makefile-mode))

;; I don't like templates
(add-to-list 'auto-mode-alist '("\\.erb\\'" . ruby-mode))
(add-hook 'find-file-hook '--erb-toggle)
(add-hook 'before-save-hook '--erb-toggle)
(add-hook 'after-save-hook '--erb-toggle)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; HOMEBREW FORMULAE
;; brew tap homebrew/bundle

      (delete-file error-file))
    exit-status))

;;; .emacs.el ends here
