我有以下问题:
我试图在heroku上部署我的项目,但是在我运行之后
git push heroku master
我得到以下内容:
git push heroku master -f Counting objects: 524,done. Delta compression using up to 2 threads. Compressing objects: 100% (498/498),done. Writing objects: 100% (524/524),157.76 KiB,done. Total 524 (delta 207),reused 62 (delta 2) -----> Heroku receiving push -----> Ruby/Rails app detected ! ! Gemfile.lock is required. Please run "bundle install" locally ! and commit your Gemfile.lock. ! ! Heroku push rejected,Failed to compile Ruby/rails app To git@heroku.com:*****.git ! [remote rejected] master -> master (pre-receive hook declined) error: Failed to push some refs to 'git@heroku.com:*****.git'
我已经运行捆绑安装和捆绑更新多次,我试图从存储库和我的文件系统中删除Gemfile.lock.但我仍然得到同样的信息.谁能告诉我我做错了什么?
我试图推动的分支是从主人克隆的.