Octopress --> Heroku error env: bundle: no such file or directory

亡梦爱人 提交于 2019-12-06 20:38:27

I removed and add the BUILDPACK_URL again.

heroku config:remove BUILDPACK_URL
heroku config:set BUILDPACK_URL=https://github.com/nicholasmott/heroku-buildpack-octopress.git

And created a Procfile with content:

web: bundle exec rackup config.ru -p $PORT

I don't know which resolves the problem, but now it works.

I tried Simply set the url again: Nothing. Freeze the ruby version: Nothing. Create a Profile without bundle: Nothing.

Then I removed the Buildpack and I got my site down. I added again the buildpack and I created a Procfile and after that it just runs :)

Try creating another application and Git remote using an updated version of the buildpack. It takes into account the way Heroku wants you to specify Ruby version in the Gemfile, which is new since Jason wrote his original buildpack.

I had a similar thing happen to me on my jekyll site when I updated my gems.

I had to roll back my heroku to the "stock" heroku buildpack. Then everything started to work again.

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