当我尝试运行`git push heroku master`时出现错误

时间:2020-04-11 20:35:24

标签: ruby-on-rails git heroku buildpack

我正在尝试为大学项目开发​​一个使用Rails的大学网络应用程序。 我正在使用ruby版本-5.1.7和rails版本2.6.3 这是供项目代码参考的github链接-

https://github.com/NSWEETY/online_management

当我尝试运行git push heroku master时出现错误:

(base) sweety@sweety-INVALID:~/Downloads/online_management$ git push heroku master
Enumerating objects: 330, done.
Counting objects: 100% (330/330), done.
Delta compression using up to 4 threads
Compressing objects: 100% (180/180), done.
Writing objects: 100% (330/330), 2.74 MiB | 360.00 KiB/s, done.
Total 330 (delta 120), reused 330 (delta 120)
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 powerful-gorge-42453.
remote: 
To https://git.heroku.com/powerful-gorge-42453.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/powerful-gorge-42453.git'

0 个答案:

没有答案
相关问题