4

我的路径中有 ghc,已经设置了 yesod init 并且 cabal 构建了它。

现在,当我“yesod devel”时,我得到:

cabal:在“yesod-ghc-wrapper”或路径上找不到程序“ghc”

ghc在路上

谢谢

4

1 回答 1

4

I've seen that if the path to the yesod bin directory under cabal is not in my PATH.

Try changing your PATH to include the yesod directory and see if it goes away.

For example, in my .bash_profile I have:

export PATH=$PATH:/Users/username/Library/Haskell/ghc-7.4.2/lib/yesod-bin-1.2.2/bin/
于 2013-09-11T00:31:18.223 回答