dongyanfeng0563
dongyanfeng0563
2014-12-16 22:52

前往:在Heroku上部署

  • heroku

With help of the article I'm trying to deploy Go-lang app to heroku. The problem is I get an error while deploying

-----> Fetching custom git buildpack... done
-----> Go app detected
-----> Installing go1.4... done

       Tired of waiting for bzr and hg?
       Try github.com/kr/godep for faster deploys.

       Installing Virtualenv... done
       Installing Mercurial... done
       Installing Bazaar... done
-----> Running: go get -tags heroku ./...
go install: no install location for directory /tmp/build_2c4fa2d4b9d0408123831030713fa930/.heroku/g/src outside GOPATH

 !     Push rejected, failed to compile Go app

What did I miss? Thanks

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐