getting KeyError: key not found: :keychain when running cap staging deploy
success Saved lockfile.
01
01
01 Done in 10.26s.
✔ 01 ubuntu@13.229.169.23 10.938s
** Execute deploy:assets:precompile
01:06 deploy:assets:precompile
01 ~/.rvm/bin/rvm 2.5.0-p0 do bundle exec rake assets:precompile
01 fatal: Not a git repository (or any of the parent directories): .git
01 fatal: Not a git repository (or any of the parent directories): .git
01 fatal: Not a git repository (or any of the parent directories): .git
01 fatal: Not a git repository (or any of the parent directories): .git
01 fatal: Not a git repository (or any of the parent directories): .git
01 ****************************** API Limit **********************************************
01 ****************************** Warning Level Notifications **********************************************
01 rake aborted!
01 KeyError: key not found: :keychain
01 /home/ubuntu/apps/cezex/releases/20200408054728/config/initializers/jwt.rb:14:in fetch'
block in '
01 /home/ubuntu/apps/cezex/releases/20200408054728/config/initializers/jwt.rb:14:in
01 /home/ubuntu/apps/cezex/releases/20200408054728/config/initializers/jwt.rb:13:in tap'
'
01 /home/ubuntu/apps/cezex/releases/20200408054728/config/initializers/jwt.rb:13:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in load'
block in load'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in load_dependency'
load'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/engine.rb:652:in block in load_config_initializer'
instrument'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/notifications.rb:166:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/engine.rb:651:in load_config_initializer'
block (2 levels) in class:Engine'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/engine.rb:616:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/engine.rb:615:in each'
block in class:Engine'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/engine.rb:615:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in instance_exec'
run'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:55:in block in run_initializers'
each'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:44:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:44:in tsort_each_child'
run_initializers'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/initializable.rb:54:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/application.rb:352:in initialize!'
'
01 /home/ubuntu/apps/cezex/releases/20200408054728/config/environment.rb:8:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in require'
block in require'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in load_dependency'
require'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/application.rb:328:in require_environment!'
block in run_tasks_blocks'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/application.rb:457:in
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:62:in block (2 levels) in define'
'
01 /home/ubuntu/apps/cezex/shared/bundle/ruby/2.5.0/gems/rake-12.3.2/exe/rake:27:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in load'
kernel_load'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:74:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli/exec.rb:28:in run'
exec'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:463:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/b
01 undler/vendor/thor/lib/thor/command.rb:27:in run'
invoke_command'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor.rb:387:in dispatch'
dispatch'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:27:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/vendor/thor/lib/thor/base.rb:466:in start'
start'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/cli.rb:18:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/exe/bundle:30:in block in <top (required)>'
with_friendly_errors'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/lib/bundler/friendly_errors.rb:124:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/gems/bundler-1.17.3/exe/bundle:22:in <top (required)>'
load'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/bin/bundle:23:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/bin/bundle:23:in <main>'
eval'
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in
01 /home/ubuntu/.rvm/gems/ruby-2.5.0/bin/ruby_executable_hooks:15:in `
01 Tasks: TOP => environment
01 (See full trace by running task with --trace)