Ruby on rails Heroku-18堆栈升级

Ruby on rails Heroku-18堆栈升级,ruby-on-rails,ruby,heroku,ruby-on-rails-5,Ruby On Rails,Ruby,Heroku,Ruby On Rails 5,我目前正在尝试升级到Heroku-18堆栈。我总是遇到同样的错误 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:

我目前正在尝试升级到Heroku-18堆栈。我总是遇到同样的错误

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:  !     NameError: uninitialized constant Mime::JSON
我的档案如下:

source 'https://rubygems.org'
ruby "2.5.8"
#ruby "2.2.6"

gem 'activerecord-import'
gem "apns"

gem 'aws-sdk-v1'

gem 'braintree'
gem "bcrypt"#, git: "https://github.com/codahale/bcrypt-ruby/"

gem 'clockwork'
gem 'coffee-rails'

gem 'delayed_job_active_record'
gem 'dry-logic', '0.3.0'

gem 'execjs'

gem 'facets', :require => false

gem 'geocoder', '~> 1.3.4'
gem 'gcm'
gem 'google_directions'
gem 'google_distance_matrix', '~> 0.3.0'

gem "httparty"
gem 'houston'

gem 'jbuilder', '~> 1.2'
gem 'jquery-ui-rails'
gem 'jquery-fileupload-rails'
gem 'jquery-rails'
gem 'libxml-ruby'
gem 'mail'
gem 'newrelic_rpm'
gem 'nokogiri'

gem 'phonelib'
gem 'pdfkit'
gem 'puma'
gem 'pubnub'
gem 'pg', '~>1.2.2'
gem 'prawn', '~> 1.2.1'
gem 'prawn-table', '~> 0.1.0'
gem 'pusher'

gem 'rails_12factor'
gem 'rails' , '6.0.0'
gem 'rack-timeout'
gem 'sass-rails'
gem 'turbolinks'
gem 'uglifier', '>= 1.3.0'
gem 'will_paginate', '~> 3.0.6'
gem 'wkhtmltopdf-binary'#, '~> 0.9.9.3'
gem 'wicked_pdf'

group :doc do
    # bundle exec rake doc:rails generates the API under doc/api.
    gem 'sdoc', require: false
end

非常感谢您的帮助。

此错误似乎并不具体。。你检查过这个帖子了吗?@Maxence谢谢你的回复!事实上,我看过那些帖子,也尝试过那些步骤,但还是没有运气。不确定为何未检测到耙铲。在雪松的下线之前,一切都很好。从ruby 2.2.6->2.5.8到rails 4.0.2->6.0.0是最大的变化。如有任何建议,将不胜感激!