0

I want to use Heroku for my Ruby apps (not on Rails).

I wrote a Twitch chat bot but I can't deploy it.

Here is the code: https://github.com/sydneyfunnelAIO/sydneybt

I tried add buildpacks but I got this warning when I tried to deploy:

App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/ruby.tgz

Enumerating objects: 20, done.
Counting objects: 100% (20/20), done.
Delta compression using up to 16 threads
Compressing objects: 100% (16/16), done.
Writing objects: 100% (20/20), 4.60 KiB | 1.15 MiB/s, done.
Total 20 (delta 2), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote:  !     No default language could be detected for this app.
remote:                         HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
remote:                         See https://devcenter.heroku.com/articles/buildpacks
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to rocky-journey-82706.
remote:
To https://git.heroku.com/rocky-journey-82706.git

No default language could be detected for this app.
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
ahmet gül
  • 67
  • 2
  • 10

1 Answers1

1

Gemfile and gemfile are different things. Rename gemfile to Gemfile and gemfile.lock to Gemfile.lock, commit that change, and deploy again.

If you're using a filesystem that doesn't distinguish between those things (like most Windows filesystems) it might be tricky to do. See Change case of a file on Windows?

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257