Erro ao executar bundle exec rails server

Estou atualizando o ideário para a versão 1.5 quando executo o comando :
bundle exec rails server recebo o seguinte erro :

/usr/share/rvm/gems/ruby-2.5.8/gems/digest-3.1.1/lib/digest.rb:20: warning: already initialized constant Digest::REQUIRE_MUTEX
/usr/share/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/digest.rb:6: warning: previous definition of REQUIRE_MUTEX was here
Traceback (most recent call last):
        33: from bin/rails:3:in `<main>'
        32: from bin/rails:3:in `load'
        31: from /home/idiario/i-diario/bin/spring:15:in `<top (required)>'
        30: from /home/idiario/i-diario/bin/spring:15:in `require'
        29: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
        28: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
        27: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
        26: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
        25: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
        24: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
        23: from /usr/share/rvm/gems/ruby-2.5.8/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
        22: from /home/idiario/i-diario/bin/rails:9:in `<top (required)>'
        21: from /home/idiario/i-diario/bin/rails:9:in `require'
        20: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands.rb:17:in `<top (required)>'
        19: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        18: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:73:in `server'
        17: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
        16: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123:in `require'
        15: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/server.rb:4:in `<top (required)>'
        14: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/commands/server.rb:4:in `require'
        13: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails.rb:11:in `<top (required)>'
        12: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails.rb:11:in `require'
        11: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/application.rb:7:in `<top (required)>'
        10: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/application.rb:7:in `require'
         9: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:1:in `<top (required)>'
         8: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/engine.rb:1:in `require'
         7: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/railtie.rb:2:in `<top (required)>'
         6: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/railtie.rb:2:in `require'
         5: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/configuration.rb:2:in `<top (required)>'
         4: from /usr/share/rvm/gems/ruby-2.5.8/gems/railties-4.2.11.1/lib/rails/configuration.rb:2:in `require'
         3: from /usr/share/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object.rb:3:in `<top (required)>'
         2: from /usr/share/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object.rb:3:in `require'
         1: from /usr/share/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/duplicable.rb:106:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.5.8/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/duplicable.rb:111:in `<class:BigDecimal>': undefined method `new' for BigDecimal:Class (NoMethodError)

estou usando o ruby 2.5.8p224 e a Gem : gem ‘activesupport’, ‘4.2.11.1’

Eu começaria utilizando a versão do ruby recomendando no projeto, 2.4.10. Tem bastante coisa diferente entre essas versões.

voltei o Gemfile e o ruby para a versão que 2.4.10 agora o erro é este

idiario@vps34088:~/i-diario$ RAILS_ENV=production bundle exec rails server -b 0.0.0.0 -p 8080 -d
/usr/share/rvm/gems/ruby-2.4.10/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/duplicable.rb:111:in `<class:BigDecimal>': undefined method `new' for BigDecimal:Class (NoMethodError)
        from /usr/share/rvm/gems/ruby-2.4.10/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/duplicable.rb:106:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object.rb:3:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object.rb:3:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/configuration.rb:2:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/configuration.rb:2:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/railtie.rb:2:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/railtie.rb:2:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/engine.rb:1:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/engine.rb:1:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/application.rb:7:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/application.rb:7:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails.rb:11:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails.rb:11:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/server.rb:4:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/server.rb:4:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123:in `require'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:73:in `server'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/railties-4.2.11.1/lib/rails/commands.rb:17:in `<top (required)>'
        from /home/idiario/i-diario/bin/rails:9:in `require'
        from /home/idiario/i-diario/bin/rails:9:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
        from /usr/share/rvm/gems/ruby-2.4.10/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
        from /home/idiario/i-diario/bin/spring:15:in `require'
        from /home/idiario/i-diario/bin/spring:15:in `<top (required)>'
        from bin/rails:3:in `load'
        from bin/rails:3:in `<main>

O erro acima era a versão do rail atualizai pra versão 5