summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2018-10-22 20:46:49 -0700
committerFranck Cuny <fcuny@twitter.com>2018-10-22 20:46:49 -0700
commitf48607a5512226e600b566a20a4bbd6d198c887f (patch)
tree62eee0725ea851c465c8dcc2f7584d50665e424b
parent[aspell] Add more words (diff)
downloademacs.d-f48607a5512226e600b566a20a4bbd6d198c887f.tar.gz
[emacs] Don't import ruby stuff in the path
-rw-r--r--configs/rcs/emacs.d/init.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el
index 1f915b1..842dc20 100644
--- a/configs/rcs/emacs.d/init.el
+++ b/configs/rcs/emacs.d/init.el
@@ -126,11 +126,7 @@
   :ensure t
   :if (memq window-system '(mac ns))
   :config
-  (exec-path-from-shell-initialize)
-  (if (fc/check-work-machine-p)
-      (dolist (var '("GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))
-        (unless (getenv var)
-          (exec-path-from-shell-copy-env var)))))
+  (exec-path-from-shell-initialize))
 
 ;;; general editing