gpt4 book ai didi

ruby-on-rails - Rails 以一长串关于已初始化常量的警告开始

转载 作者:行者123 更新时间:2023-12-03 16:05:25 26 4
gpt4 key购买 nike

Rails 以一长串关于已初始化常量的警告开始。
这是警告列表

/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_AIO_LISTIO_MAX
/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_AIO_MAX
/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_AIO_PRIO_DELTA_MAX
/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_ARG_MAX
/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_ATEXIT_MAX
/Users/jochen/.rvm/rubies/ruby-2.5.5/lib/ruby/2.5.0/x86_64-darwin17/etc.bundle: warning: already initialized constant Etc::SC_BC_BASE_MAX
... and many more from the same ruby path

这似乎不会产生问题,但有点烦人。有人知道如何解决这些警告吗?

最佳答案

bundle updatebundle clean --force在遇到同样的问题时工作。

关于ruby-on-rails - Rails 以一长串关于已初始化常量的警告开始,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58817206/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com