Ruby on Rails和Heroku问题 [英] Ruby on rails and Heroku problem

查看:81
本文介绍了Ruby on Rails和Heroku问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  $ git push heroku master 

我基本上得到这个错误消息。

 错误:src refspec master与任何不匹配。 
错误:未能将部分参考文献推送到'git@heroku.com:falling-stone-505.git'

我对计算机编程和Ruby on Rails非常陌生,因此需要一个解决这个问题的白痴指南。



预先感谢。

解决方案

您还没有承诺任何推送。尝试做:

  $ git add -A 
$ git commit



然后尝试再次推送到Heroku。



您可能会尝试跟随本教程,尽管我不能担保。这个领域的大部分专业努力都是书籍。

$ git push heroku master

I basically get this error message.

error: src refspec master does not match any.
error: failed to push some refs to 'git@heroku.com:falling-stone-505.git'

I'm very new to computer programming and ruby on rails so an "idiots" guide to solving this would be appreciated.

Thanks in advance.

解决方案

You haven't committed anything to push yet. Try doing:

$ git add -A
$ git commit

Then try to push to Heroku again.

You might try following along with this tutorial, although I can't vouch for it. Most of the professional endeavors in this space are books.

这篇关于Ruby on Rails和Heroku问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆