Please help me, in a rails project i was tasked with upgrading ruby version from 2.3.1 to 2.4.10 I researched and tried updating every gem, but that seemed to take time and I used bundle update --conservative
. When all looks good then I try to run rails s
, it throws the following error:
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:84:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'dpoint_web'. (Bundler::GemRequireError)
Gem Load Error is: This monkeypatch's lifetime is over. Check Globalize version.
Backtrace for gem load error is:
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/dpoint_web-4.3.0.1/lib/globalize_ext/migrator.rb:14:in `<top (required)>'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `require'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `block in require'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in `require'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/dpoint_web-4.3.0.1/lib/dpoint_web.rb:11:in `<top (required)>'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:81:in `require'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:81:in `block (2 levels) in require'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:76:in `each'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:76:in `block in require'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:65:in `each'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:65:in `require'
/home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler.rb:114:in `require'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/config/application.rb:12:in `<top (required)>'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `require'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `block in server'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `server'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands.rb:17:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Bundler Error Backtrace:
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:80:in `block (2 levels) in require'
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:76:in `each'
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:76:in `block in require'
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:65:in `each'
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler/runtime.rb:65:in `require'
from /home/nguyen.quoc.vietb/.rvm/rubies/ruby-2.4.10/lib/ruby/site_ruby/2.4.0/bundler.rb:114:in `require'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/config/application.rb:12:in `<top (required)>'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `require'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `block in server'
from /home/nguyen.quoc.vietb/Desktop/Projectxxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `server'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /home/nguyen.quoc.vietb/Desktop/Project/xxx/vendor/bundle/ruby/2.4.0/gems/railties-4.2.11.1/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
I tried updating to the latest version of globalize but it still doesn't work. Help me please!
Aucun commentaire:
Enregistrer un commentaire