如何在Heroku中部署使用libvips / ruby​​-vips的Rails 6应用程序?

问题描述

我现在有许多运行Heroku的应用程序,但是这个新应用程序在Rails 6中,并且还使用libvips/ruby-vips进行图像处理。

在Heroku中部署应用程序时,由于此libvips,我收到了一个错误消息。 该应用程序可以在本地完美运行。

到目前为止,我在Stack Overflow上都没有找到针对该问题的任何具体答案,因此寻找单个行代码或特定答案来在libvips中使用Heroku安装Ruby应用。

错误日志:

-----> Ruby app detected
-----> Installing bundler 2.0.2
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.7.0
-----> Installing dependencies using bundler 2.0.2
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       Fetching gem Metadata from https://rubygems.org/..........
       ---- Fetching Multiple Gems ------
       Installing bcrypt 3.1.15 with native extensions
       Fetching msgpack 1.3.3
       Installing msgpack 1.3.3 with native extensions
       Fetching i18n_data 0.10.0
       Installing i18n_data 0.10.0
       Fetching sixarm_ruby_unaccent 1.2.0
       Installing sixarm_ruby_unaccent 1.2.0
       Fetching unicode_utils 1.4.0
       Installing unicode_utils 1.4.0
       Fetching orm_adapter 0.5.0
       Installing orm_adapter 0.5.0
       Fetching mini_magick 4.10.1
       Installing mini_magick 4.10.1
       Fetching pg 1.2.3
       Installing pg 1.2.3 with native extensions
       Fetching turbolinks-source 5.2.0
       Installing turbolinks-source 5.2.0
       Fetching tzinfo 1.2.7
       Installing tzinfo 1.2.7
       Fetching nokogiri 1.10.10
       Installing nokogiri 1.10.10 with native extensions
       Fetching i18n 1.8.5
       Installing i18n 1.8.5
       Fetching websocket-driver 0.7.3
       Installing websocket-driver 0.7.3 with native extensions
       Fetching rack-test 1.1.0
       Installing rack-test 1.1.0
       Fetching sprockets 4.0.2
       Installing sprockets 4.0.2
       Fetching warden 1.2.8
       Installing warden 1.2.8
       Fetching rack-proxy 0.6.5
       Installing rack-proxy 0.6.5
       Fetching mail 2.7.1
       Installing mail 2.7.1
       Fetching marcel 0.3.3
       Installing marcel 0.3.3
       Fetching autoprefixer-rails 9.8.6.2
       Installing autoprefixer-rails 9.8.6.2
       Fetching puma 4.3.5
       Installing puma 4.3.5 with native extensions
       Fetching countries 3.0.1
       Installing countries 3.0.1
       Fetching sort_alphabetical 1.1.0
       Installing sort_alphabetical 1.1.0
       Fetching sassc 2.4.0
       Installing sassc 2.4.0 with native extensions
       Fetching ruby-vips 2.0.17
       Installing ruby-vips 2.0.17
       Fetching turbolinks 5.2.1
       Installing turbolinks 5.2.1
       Fetching bootsnap 1.4.8
       Installing bootsnap 1.4.8 with native extensions
       Fetching activesupport 6.0.3.2
       Installing activesupport 6.0.3.2
       Fetching loofah 2.6.0
       Installing loofah 2.6.0
       Fetching country_select 4.0.0
       Installing country_select 4.0.0
       Fetching image_processing 1.11.0
       Installing image_processing 1.11.0
       Fetching rails-dom-testing 2.0.3
       Installing rails-dom-testing 2.0.3
       Fetching globalid 0.4.2
       Installing globalid 0.4.2
       Fetching activemodel 6.0.3.2
       Installing activemodel 6.0.3.2
       Fetching arbre 1.2.1
       Installing arbre 1.2.1
       Fetching jbuilder 2.10.0
       Installing jbuilder 2.10.0
       Fetching rails-html-sanitizer 1.3.0
       Installing rails-html-sanitizer 1.3.0
       Fetching activejob 6.0.3.2
       Installing activejob 6.0.3.2
       Fetching activerecord 6.0.3.2
       Installing activerecord 6.0.3.2
       Fetching actionview 6.0.3.2
       Installing actionview 6.0.3.2
       Fetching kaminari-activerecord 1.2.1
       Installing kaminari-activerecord 1.2.1
       Fetching polyamorous 2.3.2
       Installing polyamorous 2.3.2
       Fetching acts-as-taggable-on 6.5.0
       Installing acts-as-taggable-on 6.5.0
       Fetching actionpack 6.0.3.2
       Installing actionpack 6.0.3.2
       Fetching kaminari-actionview 1.2.1
       Installing kaminari-actionview 1.2.1
       Fetching ransack 2.3.2
       Installing ransack 2.3.2
       Fetching actioncable 6.0.3.2
       Installing actioncable 6.0.3.2
       Fetching activestorage 6.0.3.2
       Installing activestorage 6.0.3.2
       Fetching actionmailer 6.0.3.2
       Installing actionmailer 6.0.3.2
       Fetching railties 6.0.3.2
       Installing railties 6.0.3.2
       Fetching sprockets-rails 3.2.1
       Installing sprockets-rails 3.2.1
       Fetching formtastic 3.1.5
       Installing formtastic 3.1.5
       Fetching has_scope 0.7.2
       Installing has_scope 0.7.2
       Fetching simple_form 5.0.2
       Installing simple_form 5.0.2
       Fetching kaminari 1.2.1
       Installing kaminari 1.2.1
       Fetching actionmailBox 6.0.3.2
       Installing actionmailBox 6.0.3.2
       Fetching actiontext 6.0.3.2
       Installing actiontext 6.0.3.2
       Fetching responders 3.0.1
       Installing responders 3.0.1
       Fetching jquery-rails 4.4.0
       Installing jquery-rails 4.4.0
       Fetching font_awesome5_rails 1.2.0
       Installing font_awesome5_rails 1.2.0
       Fetching webpacker 4.3.0
       Installing webpacker 4.3.0
       Fetching rails 6.0.3.2
       Installing rails 6.0.3.2
       Fetching inherited_resources 1.11.0
       Installing inherited_resources 1.11.0
       Fetching devise 4.7.2
       Installing devise 4.7.2
       Fetching active_storage_validations 0.8.9
       Installing active_storage_validations 0.8.9
       Fetching devise-i18n 1.9.1
       Installing devise-i18n 1.9.1
       Fetching sassc-rails 2.1.2
       Fetching bootstrap-sass 3.4.1
       Installing sassc-rails 2.1.2
       Installing bootstrap-sass 3.4.1
       Fetching activeadmin 2.7.0
       Installing activeadmin 2.7.0
       Fetching sass-rails 6.0.0
       Installing sass-rails 6.0.0
       Bundle complete! 31 Gemfile dependencies,92 gems Now installed.
       Bundled gems are installed into `./vendor/bundle`
       Removing bundler (2.0.2)
       Bundle completed (207.91s)
       Cleaning up the bundler cache.
-----> Installing node-v12.16.2-linux-x64
-----> Installing yarn-v1.22.4
-----> Detecting rake tasks
 !
 !     Could not detect rake tasks
 !     ensure you can run `$ bundle exec rake -P` against your app
 !     and using the production group of your Gemfile.
 !     rake aborted!
 !     LoadError: Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory.
 !     Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:145:in `block in ffi_lib'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `map'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `ffi_lib'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips.rb:528:in `<module:Vips>'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips.rb:525:in `<main>'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/ruby-vips.rb:1:in `<main>'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:74:in `block (2 levels) in require'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:69:in `each'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:69:in `block in require'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:58:in `each'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:58:in `require'
 !     /tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler.rb:174:in `require'
 !     /tmp/build_a78b0f4e_/config/application.rb:7:in `<main>'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
 !     /tmp/build_a78b0f4e_/Rakefile:4:in `<main>'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:318:in `block in load'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:318:in `load'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/rake_module.rb:29:in `load_rakefile'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:703:in `raw_load_rakefile'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:104:in `block in load_rakefile'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:103:in `load_rakefile'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:82:in `block in run'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
 !     /tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:80:in `run'
 !     /tmp/build_a78b0f4e_/bin/rake:9:in `<main>'
 !
/tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
ensure you can run `$ bundle exec rake -P` against your app
and using the production group of your Gemfile.
rake aborted!
LoadError: Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory.
Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:145:in `block in ffi_lib'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `map'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ffi-1.13.1/lib/ffi/library.rb:99:in `ffi_lib'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips.rb:528:in `<module:Vips>'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/vips.rb:525:in `<main>'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/ruby-vips-2.0.17/lib/ruby-vips.rb:1:in `<main>'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:74:in `block (2 levels) in require'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:69:in `each'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:69:in `block in require'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:58:in `each'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler/runtime.rb:58:in `require'
/tmp/build_a78b0f4e_/vendor/ruby-2.7.0/lib/ruby/2.7.0/bundler.rb:174:in `require'
/tmp/build_a78b0f4e_/config/application.rb:7:in `<main>'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `block in require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:324:in `require'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:53:in `require_relative'
/tmp/build_a78b0f4e_/Rakefile:4:in `<main>'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:318:in `block in load'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:291:in `load_dependency'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.2/lib/active_support/dependencies.rb:318:in `load'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:104:in `block in load_rakefile'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:103:in `load_rakefile'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:82:in `block in run'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
/tmp/build_a78b0f4e_/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:80:in `run'
/tmp/build_a78b0f4e_/bin/rake:9:in `<main>'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:1068:in `rake'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:84:in `block (2 levels) in run_assets_precompile_rake_task'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:190:in `log'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:78:in `block in run_assets_precompile_rake_task'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:77:in `run_assets_precompile_rake_task'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:112:in `block (2 levels) in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:1089:in `allow_git'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:105:in `block in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:94:in `compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails2.rb:62:in `block in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails2.rb:60:in `compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails3.rb:42:in `block in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails3.rb:41:in `compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:41:in `block in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:40:in `compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails6.rb:20:in `block in compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails6.rb:18:in `compile'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:20:in `block (2 levels) in <main>'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:190:in `log'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:19:in `block in <main>'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:35:in `block in trace'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:35:in `trace'
    from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:15:in `<main>'
 !     Push rejected,Failed to compile Ruby app.
 !     Push Failed

任何帮助将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...