Не удалось обнаружить задачи rake в приложении deploy rails в Heroku

#ruby-on-rails #heroku

Вопрос:

Здравствуйте, у меня возникла ошибка при развертывании приложения Rails на Heroku. Ниже приведена ошибка.

 -----> Installing node-v12.16.2-linux-x64
       Detected manifest file, assuming assets were compiled locally
-----> Detecting rails configuration
-----> 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.
 !     DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <top (required)> at /tmp/build_a77a9dd5/config/application.rb:7)
 !     rake aborted!
 !     LoadError: cannot load such file -- rspec/core
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `require'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `block in require'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:291:in `load_dependency'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `require'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/rswag-specs-2.4.0/lib/rswag/specs.rb:3:in `<top (required)>'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `require'
 !     /tmp/build_a77a9dd5/vendor/bundle/ruby/2.6.0/gems/activesupport-6.0.4.1/lib/active_support/dependencies.rb:324:in `block in require'