Ran into this, and the solution here works: https://stackoverflow.com/questions/51334732/rails-5-2-0-with-ruby-2-5-1-console-warning-already-initialized-constant

I understand 1.0.2 stays installed as the default, 1.1.0 being installed too. Hence the issue.

When installed automatically, I get the warnings. Following command shows (new rails app, 2.5.1) :

gem list | grep fileutils
fileutils (1.1.0, default: 1.0.2)

Then doing:

gem uninstall fileutils
gem update fileutils --default

makes the warnings disappear. And btw, it shows:

gem list | grep fileutils
fileutils (default: 1.1.0, default: 1.0.2)

Hope it will help fixing this annoyance. Sorry I cannot be of more help, not really a wizard with those versioning topics!

相关文章:

  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2021-08-24
  • 2022-01-16
  • 2022-12-23
相关资源
相似解决方案