1
目前我正在試圖以一個應用程序部署到Heroku的 試圖應用程序部署到Heroku的recieving錯誤每次
我下面這些說明究竟
bundle install
git init
git add .
git commit -m "My beautiful dashboard"
heroku apps:create myapp
git push heroku master
,並收到此錯誤每次
git push heroku master
Counting objects: 441, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (225/225), done.
Writing objects: 100% (441/441), 503.88 KiB | 445 KiB/s, done.
Total 441 (delta 170), reused 441 (delta 170)
-----> Heroku receiving push
-----> Ruby app detected
!
! Gemfile.lock is required. Please run "bundle install" locally
! and commit your Gemfile.lock.
!
! Heroku push rejected, failed to compile Ruby app
我在運行捆綁後,我的本地回購的Gemfile.lock的安裝,但是當我運行的git的承諾-am「message here」我收到此#分支主 沒有提交(工作目錄乾淨) – brownythedog
你也想提交鎖文件。 git add gemlike.lock –
我正在運行命令git add gemfile.lock,但是當我嘗試提交它時,我收到上面發佈的錯誤「Nothing to commit」 – brownythedog