我试图在Heroku上使用phantom.js custom buildpack( https:// github。 com / stomita / heroku-buildpack-phantomjs )
I'm trying to use phantom.js custom buildpack on Heroku (github/stomita/heroku-buildpack-phantomjs)
我按照指示,并创建了一个项目,
I followed the directions and created a project with
heroku create --stack cedar --buildpack github/stomita/heroku-buildpack-phantomjs.git但是当我做的一切似乎都出错了。我最初以为这是其他一些问题( Heroku运行rake db:迁移错误与没有这样的文件加载 - 捆绑/设置),但是在创建没有buildpack的新应用程序之后实现它是导致问题的构建包。
But when I do that everything seems to go wrong. I initially thought it was some other problem(Heroku run rake db:migrate error with "no such file to load -- bundler/setup") but realized after creating a new app without the buildpack that it is the buildpack that is causing the problem.
基本上当我使用buildpack时,一切都出错:我的进程都没有被启动,捆绑进程不起作用等等。
Basically when I use the buildpack, everything goes wrong: None of my processes gets launched, bundle process doesn't work, etc.
如何解决这个问题?
推荐答案这对我有用:
你应该会看到一个空白的Rails应用程序。
You should see a blank Rails app.
可能是你没有使用
参考
- Heroku配置和配置Vars
- Heroku, "Configuration and Config Vars"
更多推荐
尝试使用自定义构建包时出错
发布评论