1
私はHerokuにプロジェクトを展開しようとしています。Herokuのデプロイメントは「バンドラキャッシュのクリーンアップ」でタイムアウトします。
プロジェクトが以前に正常にデプロイされていますが、展開するときに、今、私は次のような出力が得られます。
[...]
Using rspec-expectations (2.8.0)
Using rspec-mocks (2.8.0)
Using rspec (2.8.0)
Using bundler (1.1.rc.7)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
/app/slug-compiler/lib/utils.rb:62:in `block (2 levels) in spawn': command='/app/slug-compiler/lib/../buildpacks/ruby/bin/compile /tmp/build_465ucsomkafs /app/tmp/repo.git/.cache' exit_status=0 out='' at=timeout elapsed=580.2929985523224 (Utils::TimeoutError)
from /app/slug-compiler/lib/utils.rb:48:in `loop'
from /app/slug-compiler/lib/utils.rb:48:in `block in spawn'
from /app/slug-compiler/lib/utils.rb:44:in `popen'
from /app/slug-compiler/lib/utils.rb:44:in `spawn'
from /app/slug-compiler/lib/buildpack.rb:35:in `block in compile'
from /app/slug-compiler/lib/buildpack.rb:33:in `fork'
from /app/slug-compiler/lib/buildpack.rb:33:in `compile'
from /app/slug-compiler/lib/slug.rb:464:in `block in run_buildpack'
from /app/slug-compiler/lib/utils.rb:117:in `log'
from /app/slug-compiler/lib/slug.rb:702:in `log'
from /app/slug-compiler/lib/slug.rb:463:in `run_buildpack'
from /app/slug-compiler/lib/slug.rb:107:in `block (2 levels) in compile'
from /app/slug-compiler/lib/utils.rb:98:in `block in timeout'
from /usr/local/lib/ruby/1.9.1/timeout.rb:58:in `timeout'
from /app/slug-compiler/lib/utils.rb:98:in `rescue in timeout'
from /app/slug-compiler/lib/utils.rb:93:in `timeout'
from /app/slug-compiler/lib/slug.rb:96:in `block in compile'
from /app/slug-compiler/lib/utils.rb:117:in `log'
from /app/slug-compiler/lib/slug.rb:702:in `log'
from /app/slug-compiler/lib/slug.rb:95:in `compile'
from /app/slug-compiler/bin/slugc:85:in `block in <main>'
from /app/slug-compiler/lib/slug.rb:472:in `block in lock'
from /app/slug-compiler/lib/repo_lock.rb:44:in `call'
from /app/slug-compiler/lib/repo_lock.rb:44:in `run'
from /app/slug-compiler/lib/slug.rb:472:in `lock'
from /app/slug-compiler/bin/slugc:66:in `<main>'
! Heroku push rejected, failed to compile Ruby app
を私たちは、これが可能になりGemfile内の行を正確に指摘している:
gem 'internal-lib', :git => 'https://username:[email protected]/Projectname/internal-lib'
ときbundlerがそれを見事に見える宝石をインストールします:
どのような意味で正常にバンドルされた宝石は、「バンドラキャッシュをクリーンアップする」ステップがタイムアウトする原因になりますか?
私たちは、他の方法で、ベンダー/プライベートのリポジトリの生のコピーとして、ベンダー/プライベートのgitサブモジュールとしては成功していません。
問題を引き起こしている宝石をどのように特定しましたか?私は3日間同じ問題を解決しようとしていました0_o – vladiim