Topic: Heroku Toolbelt and emacs

Topic type:

How to get Heroku Toolbelt executables working within emacs shells.

On Mac OS X (Mountain Lion, aka 10.8, but I suspect all versions to be similar), Heroku's Toolbelt installer will adjust your ~/.profile to add /usr/local/heroku/bin to your PATH environmental variable. Unfortunately, at least with my configuration of Aquamacs, emacs will honor this on its own in shells.

I've added the following to my Aquamacs Starter Kit, but the same line can be used in whatever emacs you are using:

(setenv "PATH" (concat "/usr/local/heroku/bin" path-separator (getenv "PATH")))

 

Discuss This Topic

There are 0 comments in this discussion.

join this discussion