Unable to push to heroku.Failed to install gems via Bundler.Push rejected, failed to compile Multipack app

Asked 2 years ago, Updated 2 years ago, 89 views

Currently, I don't know why, but
When I suddenly tried to push heroku, I got an error.

%git push heroku master --force
Fetching repository, done.
Total 0(delta 0), reused 0(delta 0)

----- > Fetching custom git buildpack ... done
----- > Multipack app detected
=====>Downloading Buildpack: https://github.com/markaschneider/heroku-buildpack-ruby-ffmpeg-sox.git
=====>Detected Framework: Ruby
------- Compiling Ruby/Rails
------- Using Ruby version: ruby-2.0.0
------- Installing dependencies using 1.7.12
   Ruby version change detected. Clearing bundle cache.
   Old: ruby 2.0p598 (2014-11-13 revision 48408) [x86_64-linux]
   New: ruby2.0.0p643 (2015-02-25 revision 49749) [x86_64-linux]
   Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin-j4 --deployment
   Fetching source index from http://rubygems.org/
   Net::HTTPNotFound:<?xml version="1.0" encoding="UTF-8"?>
   <Error><Code>NoSuchKey</Code><Message>The specified key does not
   exist.</Message><Key>quick/Marshal.4.8/0.1.0.gemspec.rz</Key>RequestId></RequestId><HostId>>>/HostId>>Error;
   Bundler Output: Fetching source index from http://rubygems.org/
   Net::HTTPNotFound:<?xml version="1.0" encoding="UTF-8"?>
   <Error><Code>NoSuchKey</Code><Message>The specified key does not
   exist.</Message><Key>quick/Marshal.4.8/0.1.0.gemspec.rz</Key>RequestId></RequestId><HostId>>>/HostId>>Error;
!
!     Failed to install gems via Bundler.
!

!     Push rejected, failed to compile Multipack app

To [email protected]: app.git
! [remote rejected] master (pre-receive hook decremented)
error:failed to push some refs to '[email protected]:app.git'

No matter how far I go back with git, I get the same error as the one that was pushed before, but where should I fix it?No matter how many hours I think about it, I don't know.

Herokupush rejected, Ruby Version Changed Detected, Could not find net-scp-1.0.6

with reference to gem cleanup
bundle update
Try
package.json
I tried adding to the route, but nothing changed.

I would appreciate it if you could give me a hint.

ruby-on-rails heroku

2022-09-30 19:01

1 Answers

It may have already been resolved, but when I tried installing Rails 4.2 with the same buildpack, the same error did not occur successfully, so I'll just let you know what I'm concerned about.

  • The Gemfile source is now https instead of http, so why don't you change it?
  • Check Gemfile for any version of gem that has been yanked (released).In this case, it is already installed locally, so there is no problem with its operation, but if you try to install a new one, it will fail.

I'm sorry that this is not a complete answer, but I hope it gives you a hint.


2022-09-30 19:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.