Я просто попытался обновить свою библиотеку драгоценных камней с помощью команды gem update
, и обновление прошло гладко.
После этого я обновил версию своего проекта rails в Gemfile с 6.0.1
до 6.0.3
и после запуска rails s
У меня есть список предупреждений:
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/fileutils/version.rb:4: warning: already initialized constant FileUtils::VERSION
/home/zire/.rbenv/versions/2.6.4/lib/ruby/gems/2.6.0/gems/fileutils-1.4.1/lib/fileutils.rb:105: warning: previous definition of VERSION was here
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_LISTIO_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_AIO_PRIO_DELTA_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_ARG_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_ATEXIT_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_BC_BASE_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_BC_DIM_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_BC_SCALE_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_BC_STRING_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_CHILD_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_CLK_TCK
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_COLL_WEIGHTS_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_DELAYTIMER_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_EXPR_NEST_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_HOST_NAME_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_IOV_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_LINE_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_LOGIN_NAME_MAX
/home/zire/.rbenv/versions/2.6.4/lib/ruby/2.6.0/x86_64-linux/etc.so: warning: already initialized constant Etc::SC_NGROUPS_MAX
Проблема с первой строкой, которую я исправил, удалив fileutilis с помощью gem uninstall fileutils
и запустив gem update --default
Теперь у меня проблема с остальными строками предупреждений . Есть ли там какое-то решение?