gpt4 book ai didi

ruby-on-rails - 无法推送到 Heroku。不明白怎么了

转载 作者:太空宇宙 更新时间:2023-11-03 17:11:13 25 4
gpt4 key购买 nike

输出:

Counting objects: 96, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (73/73), done.
Writing objects: 100% (73/73), 7.87 KiB | 0 bytes/s, done.
Total 73 (delta 56), reused 0 (delta 0)

-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.3.2
Fixing nokogiri install. Clearing bundler cache.
See https://github.com/sparklemotion/nokogiri/issues/923.
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.
You have added to the Gemfile:
* postmark-rails (~> 0.5.2)
You have deleted from the Gemfile:
* postmark-rails
Bundler Output: You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.


You have added to the Gemfile:
* postmark-rails (~> 0.5.2)

You have deleted from the Gemfile:
* postmark-rails
!
! Failed to install gems via Bundler.
!

! Push rejected, failed to compile Ruby/Rails app

Auto packing the repository for optimum performance.
To git@heroku.com:sutra-staging.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:sutra-staging.git'
Everything up-to-date

我的 Gemfile.lock 在版本控制中。

最佳答案

你说你的 Gemfile.lock 在版本控制中,但你的错误消息是说 Gemfile.lock 与你的 Gemfile 不匹配>.

您需要在本地bundle install 并提交修改后的Gemfile.lock

关于ruby-on-rails - 无法推送到 Heroku。不明白怎么了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18550007/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com