(eval-when-compile (require 'use-package)) (use-package exec-path-from-shell :if (memq window-system '(mac ns)) :ensure t :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))))) (provide 'fcuny-darwin)