我正在尝试在 heroku 上部署我的应用程序。我将 declarative_authorization 与图形可视化一起使用。
我安装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
什么是正确的路径?