Use ruby/python shims to get version

This commit is contained in:
Henrik Lissner 2015-10-09 18:01:01 -04:00
parent 54f7e84b68
commit bf49b4e16f
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
(add-hook! ruby-mode '(narf|enable-tab-width-2 flycheck-mode))
:config
(define-builder! ruby-mode "rake %s" "Rakefile")
(define-env-command! ruby-mode "rbenv version | cut -d' ' -f1")
(define-env-command! ruby-mode "ruby --version | cut -d' ' -f2")
;; Formatting
(setq ruby-indent-level 2
ruby-deep-indent-paren t)