Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion chruby.el
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
;;; Code:

(require 'cl-lib)
(require 'eshell)

(defvar chruby-current-ruby-binary-path nil
"reflects the path to the current 'ruby' executable.
Expand Down Expand Up @@ -98,7 +99,7 @@
(setenv "PATH" (concat new-binaries-for-path ":" (getenv "PATH"))))
(dolist (binary new-binaries)
(add-to-list 'exec-path binary))
(setq eshell-path-env (getenv "PATH"))
(eshell-set-path (getenv "PATH"))
(setq chruby-current-ruby-binary-path new-binaries)))

(defun chruby-set-gemhome (gemhome gempath)
Expand Down