我正在嘗試在heroku上部署我的應用程序。我使用帶圖形可視化的declarative_authorization。在heroku上使用ruby和graphviz with heroku-buildpack-multi
我安裝https://github.com/ddollar/heroku-buildpack-multi
heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
與創建.buildpacks
:
https://github.com/stigkj/heroku-buildpack-graphviz.git
https://github.com/heroku/heroku-buildpack-ruby.git
建設工作正常:
-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/stigkj/heroku-buildpack-graphviz.git
=====> Detected Framework: graphviz
-----> Fetching and installing graphviz
grapvhiz installed
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git
=====> Detected Framework: Ruby/Rails
-----> Using Ruby version: ruby-1.9.3
但現在我得到的,當我訪問圖:
Errno::ENOENT in AuthorizationRulesController#graph
No such file or directory - dot -q -Tsvg
是什麼正確的路徑?
您是否嘗試使用'heroku run bash'登錄到遠程計算機並嘗試自行尋找? – Potherca