Closed dustinlacewell-wk closed 6 years ago
To get an isolated emacs environment I run export HOME=/tmp/fakehome I run emacs with /tmp/fakehome/.emacs.d/init.el with the following content:
export HOME=/tmp/fakehome
/tmp/fakehome/.emacs.d/init.el
(setq package-archives '(("MELPA" . "http://melpa.org/packages/") ("ELPA" . "http://tromey.com/elpa/") ("gnu" . "http://elpa.gnu.org/packages/"))) (package-initialize) (package-refresh-contents) (package-install 'req-package) (require 'req-package) (req-package helm) (req-package-finish)
I get a warning Error (use-package): Cannot load helm and the package is not downloaded.
Error (use-package): Cannot load helm
If I add (setq use-package-always-ensure t) after (require 'req-package) then Helm is successfully installed and loaded.
(setq use-package-always-ensure t)
(require 'req-package)
Hi. It's not an issue. Now req-package relays on use-package ensure system.
To get an isolated emacs environment I run
export HOME=/tmp/fakehome
I run emacs with/tmp/fakehome/.emacs.d/init.el
with the following content:I get a warning
Error (use-package): Cannot load helm
and the package is not downloaded.If I add
(setq use-package-always-ensure t)
after(require 'req-package)
then Helm is successfully installed and loaded.