在Rails API中部署到heroku时出错



我是RubyonRails的新手,一直在努力部署到Heroku。当我想将Rails Api部署到heroku时,我遇到了一个错误。我使用的这个应用程序是React前端应用程序的API。因此,基于此,我的Rails应用程序没有任何视图文件夹或Assets文件可预编译,我被告知需要在一个Heroku应用程序中部署Rails-Api,在另一个Heroku应用中部署React。但当我想部署Rails应用程序时,我收到了以下错误消息:

remote:        Bundle completed (41.51s)
remote:        Cleaning up the bundler cache.
remote: -----> Installing node-v10.15.3-linux-x64
remote: -----> Detecting rake tasks
remote: 
remote:  !
remote:  !     Could not detect rake tasks
remote:  !     ensure you can run `$ bundle exec rake -P` against your app
remote:  !     and using the production group of your Gemfile.
remote:  !     rake aborted!
remote:  !     ArgumentError: :key is required
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/dwolla_v2-2.2.1/lib/dwolla_v2/client.rb:21:in `initialize'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/initializers/dwolla.rb:5:in `new'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/initializers/dwolla.rb:5:in `<top (required)>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:657:in `block in load_config_initializer'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:170:in `instrument'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:656:in `load_config_initializer'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:613:in `each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:613:in `block in <class:Engine>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `tsort_each_child'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `call'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `each_strongly_connected_component_from'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `call'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/environment.rb:5:in `<top (required)>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/lib/tasks/dev_seed.rake:1:in `<top (required)>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `block in run_tasks_blocks'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `each'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `run_tasks_blocks'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:515:in `run_tasks_blocks'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:459:in `load_tasks'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/Rakefile:6:in `<top (required)>'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load_rakefile'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:703:in `raw_load_rakefile'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:104:in `block in load_rakefile'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:103:in `load_rakefile'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:82:in `block in run'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
remote:  !     /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
remote:  !     ./vendor/bundle/bin/rake:29:in `load'
remote:  !     ./vendor/bundle/bin/rake:29:in `<main>'
remote:  !
remote: /app/tmp/buildpacks/b7af5642714be4eddaa5f35e2b4c36176b839b4abcd9bfe57ee71c358d71152b4fd2cf925c5b6e6816adee359c4f0f966b663a7f8649b0729509d510091abc07/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
remote: ensure you can run `$ bundle exec rake -P` against your app
remote: and using the production group of your Gemfile.
remote: rake aborted!
remote: ArgumentError: :key is required
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/dwolla_v2-2.2.1/lib/dwolla_v2/client.rb:21:in `initialize'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/initializers/dwolla.rb:5:in `new'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/initializers/dwolla.rb:5:in `<top (required)>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:657:in `block in load_config_initializer'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:170:in `instrument'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:656:in `load_config_initializer'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:613:in `each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:613:in `block in <class:Engine>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `instance_exec'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:32:in `run'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:61:in `block in run_initializers'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:431:in `each_strongly_connected_component_from'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:50:in `tsort_each_child'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `call'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:415:in `each_strongly_connected_component_from'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:349:in `block in each_strongly_connected_component'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `call'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:347:in `each_strongly_connected_component'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/ruby-2.5.3/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/initializable.rb:60:in `run_initializers'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:361:in `initialize!'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/config/environment.rb:5:in `<top (required)>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/lib/tasks/dev_seed.rake:1:in `<top (required)>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `block in run_tasks_blocks'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `each'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:650:in `run_tasks_blocks'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/application.rb:515:in `run_tasks_blocks'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/railties-5.2.3/lib/rails/engine.rb:459:in `load_tasks'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/Rakefile:6:in `<top (required)>'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load_rakefile'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:703:in `raw_load_rakefile'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:104:in `block in load_rakefile'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:103:in `load_rakefile'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:82:in `block in run'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
remote: /tmp/build_0f11c72c29e3e9275e9d2167ac1b7a98/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
remote: ./vendor/bundle/bin/rake:29:in `load'
remote: ./vendor/bundle/bin/rake:29:in `<main>'
remote:  !     Push rejected, failed to compile Ruby app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !       Push rejected to loop-stage.
remote: 
To https://git.heroku.com/loop-stage.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/loop-stage.git'

注意:这是一个从客户端继承的项目,所以体系结构已经是这样的了。

你知道会出什么问题吗?

参数:key(:id的别名(似乎没有正确传递给DwollaV2::Client.new

dwolla-v2-ruby-v2.2.1/lib/dwolla-v2/client.rb:21

如果您在config/initializers/dwolla.rb中使用环境变量实例化DwollaV2::Client,那么这些环境变量在heroku中配置正确吗?

https://devcenter.heroku.com/articles/config-vars#managing-配置变量

您可以按如下方式检查当前变量值:

$ heroku config:get YOUR_ENV_VAR_NAME

相关内容

  • 没有找到相关文章

最新更新