I installed the bundler package for emacs and it works fine if emacs is invoked form zsh (terminal).
But when emacs is invoked via some other means, for example (Alt+F2) or the Application menu,
M-x bundle-install gives the following error:
"zsh:1: command not found: bundle"
I believe emacs fails to load some environment variables in the latter case.
system details:
Debian (unstable amb64)
rvm 1.17.6
zsh 4.3.17
--loginswitch