我試圖將我的應用部署到heroku,但它要求我將更新的Gemfile.lock
添加到版本控制。該日誌:無法部署到heroku
remote: -----> Fetching set buildpack https://github.com/ello/heroku-buildpack-imagemagick... done
remote: -----> ImageMagick app detected
remote: -----> Install ImageMagick
remote: -----> Extracting ImageMagick /app/tmp/cache/imagemagick.tar.gz => /tmp/build_397f5ab6d29af054b826b2a1303ae32b/vendor
remote: -----> Writing policy file
remote: -----> Updating environment variables
remote: -----> Using set buildpack heroku/ruby
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.0
remote: -----> Installing dependencies using bundler 1.11.2
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: You are trying to install in deployment mode after changing
remote: your Gemfile. Run `bundle install` elsewhere and add the
remote: updated Gemfile.lock to version control.
remote: You have added to the Gemfile:
remote: * source:
它要求我補充更新Gemfile.lock的,但仍當我刪除它,並生成一個新不起作用。我已經嘗試了各種S.O.提到的解決方案。問題,但他們都不適合我。 此外,我已上演並致力於。
您好像沒有上傳部署過程中的所有信息。除此之外,如果您可以添加heroku日誌,評估問題將更容易。 –