Static website on Heroku Cedar

荒凉一梦 提交于 2019-12-03 06:56:46

The instructions are for Bamboo stack which would have had Rack installed - the Cedar stack is entirely empty so you need to have rack installed.

You need to add a Gemfile with

source :rubygems

gem 'rack'

bundle it and then add the Gemfile and Gemfile.lock to git and repush.

Those instructions are for the Bamboo stack.

The cedar stack needs a Procfile to be able to identify how to run your app.

Something like this in your Procfile should do the trick - assuming you're using thin:

web: bundle exec thin start -p $PORT -e $RACK_ENV
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!