Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
active_model_serializers (~> 0.10.0.rc5) was resolved to 0.10.9, which depends on
actionpack (>= 4.1, < 6)
axlsx_rails (~> 0.5.0) was resolved to 0.5.2, which depends on
actionpack (>= 3.1)
haml-rails was resolved to 1.0.0, which depends on
actionpack (>= 4.0.1)
rails (= 5.0.2) was resolved to 5.0.2, which depends on
actionpack (= 5.0.2)
responders (~> 2.0) was resolved to 2.4.1, which depends on
actionpack (>= 4.2.0, < 6.0)
rspec-rails (~> 3.0) was resolved to 3.8.2, which depends on
actionpack (>= 3.0)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activerecord-postgis-adapter (~> 3.1.4) was resolved to 3.1.5, which depends on
activerecord (~> 4.2)
rails (= 5.0.2) was resolved to 5.0.2, which depends on
activerecord (= 5.0.2)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 5.0.2)
leaflet-rails was resolved to 1.5.1, which depends on
rails (>= 4.2.0)
react-rails (~> 1.6.0) was resolved to 1.6.2, which depends on
rails (>= 3.2)
Bundler could not find compatible versions for gem "resque":
In Gemfile:
resque (~> 1.26.0)
resque-scheduler (~> 4.3.0) was resolved to 4.3.1, which depends on
resque (~> 1.26)
Я изменил файл "GemFile" на 5.0.2 и выдал ошибку.Ошибка не говорит о том, что ни один драгоценный камень не поддерживает 5.0.2.Помоги мне, пожалуйста.Причина обновления:
dayanov-sa@dayanov-sa:~/workspace/main/sokol_dev$ rails c
/home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/object/duplicable.rb:85: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
/home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Traceback (most recent call last):
7948: from bin/rails:4:in `<main>'
7947: from bin/rails:4:in `require'
7946: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
7945: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
7944: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:67:in `console'
7943: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:142:in `require_application_and_environment!'
7942: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/railties-4.2.0/lib/rails/application.rb:328:in `require_environment!'
7941: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in `require'
... 7936 levels...
4: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
3: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
2: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
1: from /home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
/home/dayanov-sa/.rvm/gems/ruby-2.6.3/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
Я пробовал много способов решить эту проблему, но ничего не помогло.Кто-нибудь сталкивался с подобной ситуацией и знает какой-нибудь способ решить эту проблему.
Rails 4.2.0
ruby 2.6.3p62 (версия 20175-04-16 67580) [x86_64-linux]