We've moved discussions to Discord

Heroku Omniauth credential issue

John Reagan Moore
I'm having a trouble deploying to Heroku. It's basically a fresh Jumpstart app and runs fine locally but seems like there may be an issue around devise and omniauth credentials. Any ideas what I need to do here to depoly to heroku? Build logs below:

-----> 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
       [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set deployment 'true'`, and stop using this flag
       [DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
       [DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development:test'`, and stop using this flag
       [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs`
       The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
       Fetching gem metadata from https://rubygems.org/............
       Using rake 13.0.1
       Using concurrent-ruby 1.1.6
       Using minitest 5.14.0
       Using thread_safe 0.3.6
       Using zeitwerk 2.3.0
       Using builder 3.2.4
       Using erubi 1.9.0
       Using mini_portile2 2.4.0
       Using crass 1.0.6
       Using rack 2.2.2
       Using nio4r 2.5.2
       Using websocket-extensions 0.1.4
       Using mimemagic 0.3.4
       Using mini_mime 1.0.2
       Using execjs 2.7.0
       Using method_source 0.9.2
       Using thor 0.20.3
       Using kaminari-core 1.2.0
       Using ffi 1.12.2
       Using tilt 2.0.10
       Using selectize-rails 0.12.6
       Using bundler 2.1.2
       Using encryptor 3.0.0
       Using bcrypt 3.1.13
       Using msgpack 1.3.3
       Using chronic 0.10.2
       Using orm_adapter 0.5.0
       Fetching multipart-post 2.1.1
       Fetching graphql 1.10.5
       Using hashie 4.1.0
       Using mini_magick 4.10.1
       Using local_time 2.1.0
       Using oj 3.10.5
       Using pagy 3.7.3
       Using pdf-core 0.7.0
       Using pg 1.2.2
       Using ttfunk 1.5.1
       Using redis 4.1.3
       Using ruby-oembed 0.12.0
       Using stripe 5.17.0
       Using turbolinks-source 5.2.0
       Using i18n 1.8.2
       Using tzinfo 1.2.6
       Using nokogiri 1.10.9
       Using websocket-driver 0.7.1
       Using marcel 0.3.3
       Using mail 2.7.1
       Using autoprefixer-rails 9.7.4
       Using puma 4.3.3
       Using sassc 2.2.1
       Installing multipart-post 2.1.1
       Using attr_encrypted 3.1.0
       Using bootsnap 1.4.6
       Using ruby-vips 2.0.17
       Using whenever 1.0.0
       Using rack-test 1.1.0
       Using sprockets 4.0.0
       Using warden 1.2.8
       Using rack-proxy 0.6.5
       Using activesupport 6.0.2.1
       Using loofah 2.4.0
       Using omniauth 1.9.1 from https://github.com/omniauth/omniauth.git (at master@fce9e23)
       Using prawn 2.2.2
       Using turbolinks 5.2.1
       Using image_processing 1.10.3
       Installing graphql 1.10.5
       Using rails-dom-testing 2.0.3
       Using rails-html-sanitizer 1.3.0
       Using globalid 0.4.2
       Using activemodel 6.0.2.1
       Using inline_svg 1.7.0
       Fetching faraday 1.0.0
       Using jbuilder 2.10.0
       Using name_of_person 1.1.1
       Using prawn-table 0.2.2
       Using stripe_event 2.3.0
       Using actionview 6.0.2.1
       Using activejob 6.0.2.1
       Using activerecord 6.0.2.1
       Using actionpack 6.0.2.1
       Using kaminari-actionview 1.2.0
       Using kaminari-activerecord 1.2.0
       Using pg_search 2.3.2
       Using receipts 1.0.0
       Using strong_migrations 0.6.2
       Using actioncable 6.0.2.1
       Using activestorage 6.0.2.1
       Using actionmailer 6.0.2.1
       Using railties 6.0.2.1
       Using sprockets-rails 3.2.1
       Using kaminari 1.2.0
       Using actionmailbox 6.0.2.1
       Using actiontext 6.0.2.1
       Using momentjs-rails 2.20.1
       Using jquery-rails 4.3.5
       Using sassc-rails 2.1.2
       Using responders 3.0.0
       Using webpacker 4.2.2
       Using datetime_picker_rails 0.0.7
       Using rails 6.0.2.1
       Using administrate 0.12.0 from https://github.com/excid3/administrate.git (at jumpstart@aa1df6d)
       Using devise 4.7.1
       Using invisible_captcha 1.0.0
       Using jumpstart 0.1.0 from source at `lib/jumpstart`
       Using pay 2.0.3
       Installing faraday 1.0.0
       Using sass-rails 6.0.0
       Using turbolinks_render 0.9.17
       Using administrate-field-active_storage 0.2.2
       Using devise_invitable 2.0.1
       Using devise_masquerade 1.2.0 from https://github.com/excid3/devise_masquerade.git (at master@7b76df5)
       Fetching faraday_middleware 1.0.0.rc1
       Installing faraday_middleware 1.0.0.rc1
       Fetching graphql-client 0.16.0
       Installing graphql-client 0.16.0
       Fetching graphlient 0.3.7
       Installing graphlient 0.3.7
       Bundle complete! 49 Gemfile dependencies, 111 gems now installed.
       Gems in the groups development and test were not installed.
       Bundled gems are installed into `./vendor/bundle`
       Removing bundler (2.0.2)
       Bundle completed (5.90s)
       Cleaning up the bundler cache.
-----> Installing node-v10.15.3-linux-x64
-----> Installing yarn-v1.16.0
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/cache.rb:60: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/cache/redis_cache_store.rb:180: warning: The called method `initialize' is defined here
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/type.rb:27: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/active_record/type/adapter_specific_registry.rb:9: warning: The called method `add_modifier' is defined here
       rake aborted!
       ActiveSupport::MessageEncryptor::InvalidMessage: ActiveSupport::MessageEncryptor::InvalidMessage
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:206:in `rescue in _decrypt'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:183:in `_decrypt'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:157:in `decrypt_and_verify'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:21:in `decrypt_and_verify'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_file.rb:80:in `decrypt'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_file.rb:43:in `read'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:21:in `read'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:33:in `config'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:38:in `options'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/module/delegation.rb:297:in `method_missing'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:55:in `credentials_for'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:45:in `has_credentials?'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:21:in `block in enabled_providers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:20:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:20:in `enabled_providers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/initializers/devise.rb:312:in `block in <main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/devise-4.7.1/lib/devise.rb:311:in `setup'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/initializers/devise.rb:5:in `<main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319:in `block in load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:667:in `block in load_config_initializer'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:182:in `instrument'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:666:in `load_config_initializer'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:624:in `block (2 levels) in <class:Engine>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:623:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:623:in `block in <class:Engine>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:50:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:50:in `tsort_each_child'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/environment.rb:5:in `<main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:339:in `require_environment!'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:515:in `block in run_tasks_blocks'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
       
       Caused by:
       OpenSSL::Cipher::CipherError: 
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:201:in `final'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:201:in `_decrypt'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/message_encryptor.rb:157:in `decrypt_and_verify'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/messages/rotator.rb:21:in `decrypt_and_verify'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_file.rb:80:in `decrypt'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_file.rb:43:in `read'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:21:in `read'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:33:in `config'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/encrypted_configuration.rb:38:in `options'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/core_ext/module/delegation.rb:297:in `method_missing'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:55:in `credentials_for'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:45:in `has_credentials?'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:21:in `block in enabled_providers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:20:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/lib/jumpstart/lib/jumpstart/omniauth.rb:20:in `enabled_providers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/initializers/devise.rb:312:in `block in <main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/devise-4.7.1/lib/devise.rb:311:in `setup'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/initializers/devise.rb:5:in `<main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:55:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319:in `block in load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:319:in `load'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:667:in `block in load_config_initializer'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/notifications.rb:182:in `instrument'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:666:in `load_config_initializer'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:624:in `block (2 levels) in <class:Engine>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:623:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/engine.rb:623:in `block in <class:Engine>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `instance_exec'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:32:in `run'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:61:in `block in run_initializers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:50:in `each'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:50:in `tsort_each_child'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/initializable.rb:60:in `run_initializers'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:363:in `initialize!'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/config/environment.rb:5:in `<main>'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.3.0/lib/zeitwerk/kernel.rb:23:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `block in require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:291:in `load_dependency'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.2.1/lib/active_support/dependencies.rb:325:in `require'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:339:in `require_environment!'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/railties-6.0.2.1/lib/rails/application.rb:515:in `block in run_tasks_blocks'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
       /tmp/build_b5f16691406f015ddf4b471f0597f55e/vendor/bundle/ruby/2.7.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
       Tasks: TOP => environment
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed
Chris Oliver
Sounds like you forgot to set RAILS_MASTER_KEY.

Don't forget to check the Deploying docs. https://jumpstartrails.com/docs/deploying
John Reagan Moore
Chris Oliver  thanks! I had been trying to use the contents of the file config/master.key for RAILS_MASTER_KEY instead of config/credentials/production.key
Chris Oliver
Ah yeah... the non-environment credentials were a bad move on Rails' part to add. I wish they didn't have that. 

I probably could override it somehow and give an error if you used that command in JSP though. Could be a nice touch to make sure it doesn't generate a config/master.key at all.
Notifications
You’re not receiving notifications from this thread.