Closed saurabh1969 closed 2 years ago
Same issue here.
On manually trying all steps,got this error:
I couldn't replicate this, I used the heroku/deploy.sh
script following the instructions and it worked fine. From that last screenshot specifically you're trying to push from the wrong directory, heroku/
rather than assets/
(note the pushd
), so aren't including the files that the Ruby buildpack is looking for (reference: https://devcenter.heroku.com/articles/ruby-support#general-support-activation).
@textbook Thanks for pointing out that. I was pushing from different folder while doing steps manually.I went to assets/ folder and i did all steps, it worked. One modification i did was not to use the buildpack which you guys have provided while creating the app.I used heroku default Ruby build back.
Old: heroku create APP_NAME --buildpack https://github.com/heroku/heroku-buildpack-ruby.git --region us
New: heroku create APP_NAME --region us
Any reasons you guys weren't using heroku ruby buildpack?
Any reasons you guys weren't using heroku ruby buildpack?
https://github.com/heroku/heroku-buildpack-ruby is the Heroku Ruby buildpack.
The deploy script uses --buildpack https://github.com/heroku/heroku-buildpack-ruby.git#v227
to pin a specific version of the buildpack, otherwise changes to the runtime or dependencies in new versions of the buildpack could mean the app fails to deploy at some point in the future.
@textbook Thanks for the help.
Followed the process for Heroku deployment : https://github.com/pivotal/postfacto/blob/master/deployment/README.md
No issues while deployment . But cannot see app running
Logs: