Fix rbenv loading

This commit is contained in:
Eivind Fonn 2016-01-06 13:26:29 +01:00 committed by syl20bnr
parent 609b79fd6c
commit 0d273485ae

View file

@ -99,6 +99,7 @@
(progn
(defun spacemacs//enable-rbenv ()
"Enable rbenv, use .ruby-version if exists."
(require 'rbenv)
(let ((version-file-path (rbenv--locate-file ".ruby-version")))
(global-rbenv-mode)
;; try to use the ruby defined in .ruby-version