Heroku 推送被拒绝,未检测到支持 Cedar 的应用程序

编程入门 行业动态 更新时间:2024-10-17 02:46:09
本文介绍了Heroku 推送被拒绝,未检测到支持 Cedar 的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在使用 Rails 3.1.3 创建一个 Rails 应用程序:

I'm creating a Rails app with Rails 3.1.3:

git init git remote add heroku <my heroku repo> git add . git commit -a -m "First commit" git push heroku master

得到:

Counting objects: 102, done. Delta compression using up to 4 threads. Compressing objects: 100% (86/86), done. Writing objects: 100% (102/102), 315.47 KiB, done. Total 102 (delta 3), reused 0 (delta 0) **-----> Heroku receiving push ! Heroku push rejected, no Cedar-supported app detected** To git@heroku:electric-dusk-3217.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to <my heroku rep>

推荐答案

问题是我的Gemfile"被命名为gemfile"

The problem was that my "Gemfile" was named "gemfile"

更多推荐

Heroku 推送被拒绝,未检测到支持 Cedar 的应用程序

本文发布于:2023-07-14 10:07:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1104054.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   检测到   被拒   Heroku   Cedar

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!