希望瞭解如何使用Heroku部署Rails 2.3.8。當我嘗試推送到heroku時,出現以下錯誤消息:錯誤:將Rails 2.3.8應用程序部署到heroku
git push heroku master
Enter passphrase:
Counting objects:3, done.
Compressing objects: 100 % (2/2), done.
Writing onject: 100 % (3/3), 4.34 KiB, done.
Total 3 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
Heroku push rejected, no Cedar-supported app detected
To [email protected]: falling-sunrise.git
[remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:falling-sunrise.git'
我還附加了我的命令行屏幕的實際屏幕截圖。我讀了一些地方,我可能不得不寫一個gemfile來推動工作。我也這樣做,並將其添加到我的應用程序的根,但沒有運氣。
傢伙謝謝你的幫助。只是想出了什麼是錯的。我從來沒有真的推鐵路的應用程序!我是Git的新手,並沒有意識到你需要在提交之前添加每個文件 – user1536340 2012-07-19 23:23:19
請注意,如果你懶惰,並確定你的測試通過,你可以'git commit -a -m'commit這裏的消息「提交工作目錄中的所有修改和新文件。如果你只是改變了一堆文件,並且/或者重新生成了一些靜態內容,這很有用。 – elithrar 2012-07-20 02:16:32