Fix switching rvm versions when switching projects

This commit is contained in:
Tom Willemse 2015-12-17 00:39:51 +01:00
parent ab130bef51
commit 61e526ff34

View file

@ -1085,7 +1085,7 @@ If no direction is given, don't split."
(add-hook 'ruby-mode-hook 'ruby-tools-mode)
(add-hook 'ruby-mode-hook 'ruby-refactor-mode-launch)
(add-hook 'ruby-mode-hook 'robe-mode)
(add-hook 'projectile-switch-project-hook #'oni:select-corresponding-ruby)
(add-hook 'projectile-after-switch-project-hook #'oni:select-corresponding-ruby)
(add-hook 'prog-mode-hook 'highlight-numbers-mode)
(oni:add-function-to-hooks #'oni:make-readable