(require-package 'rinari)
(after-load 'rinari
  (diminish 'rinari-minor-mode "Rin"))
(global-rinari-mode)

(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"))))

(when (maybe-require-package 'projectile-rails)
  (add-hook 'projectile-mode-hook 'projectile-rails-on)
  (after-load 'guide-key
    (add-to-list 'guide-key/guide-key-sequence "C-c r")))


(provide 'init-rails)

(require-package 'rinari)
(after-load 'rinari
  (diminish 'rinari-minor-mode "Rin"))
(global-rinari-mode)

(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"))))

(when (maybe-require-package 'projectile-rails)
  (after-load 'projectile
    (add-hook 'projectile-mode-hook 'projectile-rails-on)
    (after-load 'guide-key
      (add-to-list 'guide-key/guide-key-sequence "C-c r"))))


(provide 'init-rails)

Enable projectile-rails only after projectile is loaded
Enable projectile-rails only after projectile is loaded

zenith-john/emacs.d,qianwan/emacs.d,arthurl/emacs.d,me020523/emacs.d,mmqmzk/emacs.d,Werewolflsp/emacs.d,fengxl/emacs.d,Shanicky/emacs.d,dcorking/emacs.d,sgarciac/emacs.d,wegatron/emacs.d,baohaojun/emacs.d,cyjia/emacs.d,roxolan/emacs.d,blueseason/emacs.d,svenyurgensson/emacs.d,cjqw/emacs.d,gsmlg/emacs.d,jhpx/emacs.d,Enzo-Liu/emacs.d,kindoblue/emacs.d,benkha/emacs.d,krzysz00/emacs.d,braveoyster/emacs.d,kongfy/emacs.d,purcell/emacs.d,blueabysm/emacs.d,lust4life/emacs.d,emuio/emacs.d