You need to have a `Gemfile` https://github.com/heroku/heroku-buildpack-ruby/blob/master/bin/detect
This is in the "activation" section of the ruby support doc https://devcenter.heroku.com/articles/ruby-support#general-support-activation On Fri, Nov 10, 2017 at 12:44 AM, John Wolfe <jwolfe...@gmail.com> wrote: > I'm trying to push a Rails app to Heroku. The app is used as an API for a > React front-end, but I figured it'd be best to push them separately. > However, when I attempt to push the Rails AP to Heroku, it keeps telling me > app not compatible with buildpack: > > > remote: Building source: > remote: > remote: -----> App not compatible with buildpack: > https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz > remote: More info: > https://devcenter.heroku.com/articles/buildpacks#detection-failure > remote: > remote: ! Push failed > remote: Verifying deploy... > remote: > remote: ! Push rejected to quoriron-rails-api. > remote: > To https://git.heroku.com/quoriron-rails-api.git > ! [remote rejected] master -> master (pre-receive hook declined) > error: failed to push some refs to > 'https://git.heroku.com/quoriron-rails-api.git' > > > Following the Heroku docs, I've tried removing the buildpack and setting the > Heroku/Ruby buildpack, which it does and says, > > > ▸ The buildpack heroku/ruby is already set on your app. > > > However, when I try pushing the ap to Heroku with that, it doesn't push and > still gives me the same error from above. I've tried updating my version of > Ruby and re-installing the gemfile, but neither of those worked either. > > Why would a basic Rails app (although it has no views), not be compatible > with the Heroku Ruby buildpack? > > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en_US?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to heroku+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/heroku?hl=en_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to heroku+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.