(dolist (hook '(nxml-mode-hook haml-mode-hook sass-mode-hook magit-mode-hook))
  (add-hook hook (lambda () (rinari-launch))))
(defun update-rails-ctags ()
  (interactive)
  (let ((default-directory (or (rinari-root) default-directory)))
    (shell-command (concat "ctags -a -e -f " rinari-tags-file-name " --tag-relative -R app lib vendor test"))))
(require 'rinari)

(add-hook 'rails-minor-mode-hook (lambda () (local-set-key [f6] 'recompile)))



(provide 'init-rails)

(require 'rinari)
(dolist (hook '(nxml-mode-hook haml-mode-hook sass-mode-hook magit-mode-hook))
  (add-hook hook (lambda () (rinari-launch))))

(defun update-rails-ctags ()
  (interactive)
  (let ((default-directory (or (rinari-root) default-directory)))
    (shell-command (concat "ctags -a -e -f " rinari-tags-file-name " --tag-relative -R app lib vendor test"))))


(add-hook 'rails-minor-mode-hook (lambda () (local-set-key [f6] 'recompile)))


(provide 'init-rails)

Tidy up rails init file
Tidy up rails init file

zuoshifan/emacs.d,lust4life/emacs.d,ilove0518/emacs.d,baohaojun/emacs.d,pairyo/emacs.d,jachinpy/emacs.d,boblannon/emacs.d,me020523/emacs.d,Togal/emacs.d,zuoshifan/emacs.d,purcell/emacs.d,zenith-john/emacs.d,modkzs/emcs.d,hophacker/emacs.d,zuoshifan/emacs.d,hkcqr/emacs.d,jhpx/emacs.d,YangXin/emacs.d,zhuoyikang/emacs.d,farzadbekran/emacs.d,farzadbekran/emacs.d,qinshulei/emacs.d,roxolan/emacs.d,danfengcao/emacs.d,jachinpy/emacs.d,gsmlg/emacs.d,farzadbekran/emacs.d,wenpincui/emacs.d,YangXin/emacs.d,blueseason/emacs.d,dcorking/emacs.d,ernest-dzf/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,mpwang/emacs.d,zuoshifan/emacs.d,cjqw/emacs.d,dongdonghu/.emacs.d,atreeyang/emacs.d,scorpionis/emacs.d,blueabysm/emacs.d,kindoblue/emacs.d,cyjia/emacs.d,Werewolflsp/emacs.d,bibaijin/emacs.d,svenyurgensson/emacs.d,wegatron/emacs.d,alant/emacs.d,shafayetkhan/emacs.d,zhaotai/.emacs.d,Guoozz/emacs.d,46do14/emacs.d,fengxl/emacs.d,caoyuanqi/emacs.d,zuoshifan/emacs.d,jthetzel/emacs.d,Shanicky/emacs.d,zuoshifan/emacs.d,farzadbekran/emacs.d,haodaivshen/emacs.d,ruiyang/emacs.d,braveoyster/emacs.d,ruiyang/emacs.d,zuoshifan/emacs.d,LittleLmp/emacs.d,krzysz00/emacs.d,Jadecity/PurcellEmacs.d,Enzo-Liu/emacs.d,lujianmei/emacs.d,mmqmzk/emacs.d,whizzzkid/emacs.d,arthurl/emacs.d,carlosliu/emacs.d,renatoriccio/emacs.d,qianwan/emacs.d,sgarciac/emacs.d,dhanunjaya/emacs.d,jkaessens/emacs.d,zuoshifan/emacs.d,emuio/emacs.d,LKI/emacs.d,lromang/emacs.d,DarkThrone/emacs.d,benkha/emacs.d,kongfy/emacs.d,exclamaforte/emacs.d