开发者

db:migrate fails in Emacs shell

开发者 https://www.devze.com 2023-01-24 23:51 出处:网络
When I rake my db in emacs, it fails– although it works fine in terminal. The 开发者_Go百科error is related specifically to an environment variable that emacs doesn\'t seem to be picking up on. What

When I rake my db in emacs, it fails– although it works fine in terminal. The 开发者_Go百科error is related specifically to an environment variable that emacs doesn't seem to be picking up on. What is the best way to resolve this in .emacs? Do I need to source my profile every time I start emacs?


Which emacs shell are you using? There are a few different types which are good for different cases. I recently read this article which you may find informative: http://www.masteringemacs.org/articles/2010/11/01/running-shells-in-emacs-overview/

I suggest trying simply M-x shell which will simply run your default shell in emacs (usually bash).

0

精彩评论

暂无评论...
验证码 换一张
取 消