Ruby on rails 我在git push heroku master中遇到问题,我得到以下错误
我尝试在heroku上更改SSH密钥,但只有在推送我的核心存储库并进行提交和克隆时才出现此错误。根据上面的错误,此错误是由活动商户版本引起的。如果您查看,您将看到版本1.43.2不存在。因此,要么升级,要么降级版本。请检查您的GEM文件,并确保activemerchant的版本已锁定为存在 如果您没有在GEM文件中锁定activemerchant版本,只需运行Ruby on rails 我在git push heroku master中遇到问题,我得到以下错误,ruby-on-rails,git,heroku,push,master,Ruby On Rails,Git,Heroku,Push,Master,我尝试在heroku上更改SSH密钥,但只有在推送我的核心存储库并进行提交和克隆时才出现此错误。根据上面的错误,此错误是由活动商户版本引起的。如果您查看,您将看到版本1.43.2不存在。因此,要么升级,要么降级版本。请检查您的GEM文件,并确保activemerchant的版本已锁定为存在 如果您没有在GEM文件中锁定activemerchant版本,只需运行bundle update activemerchant,即可解决您的问题 rakesh@rakesh:~/rails/sapwii$ g
bundle update activemerchant
,即可解决您的问题
rakesh@rakesh:~/rails/sapwii$ git push heroku master
Fetching repository, done.
Counting objects: 29, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 58.09 KiB, done.
Total 19 (delta 15), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Ruby version change detected. Clearing bundler cache.
Old: ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-linux]
New: ruby 2.0.0p576 (2014-09-19 revision 47628) [x86_64-linux]
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching gem metadata from https://rubygems.org/........
Could not find activemerchant-1.43.2 in any of the sources
Bundler Output: Fetching gem metadata from https://rubygems.org/........
Could not find activemerchant-1.43.2 in any of the sources
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
To git@heroku.com:sapwii.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:sapwii.git'