安装ruby 2.4.0-错误:已弃用自制/复制。由于其所有公式都已迁移,此tap现在为空

安装ruby 2.4.0-错误:已弃用自制/复制。由于其所有公式都已迁移,此tap现在为空,ruby,rvm,Ruby,Rvm,我需要更新一些Rails gems,它们的更新版本需要ruby 2.4.0。我目前的版本是2.3.3,所以我正在尝试安装一个新的ruby版本 rvm安装2.4.2返回此错误: Warning! PATH is not properly set up, '/Users/adam/.rvm/gems/ruby-2.3.3/bin' is not at first place, usually this is caused by shell initialization files

我需要更新一些Rails gems,它们的更新版本需要ruby 2.4.0。我目前的版本是2.3.3,所以我正在尝试安装一个新的ruby版本

rvm安装2.4.2
返回此错误:

Warning! PATH is not properly set up, '/Users/adam/.rvm/gems/ruby-2.3.3/bin' is not at first place,
         usually this is caused by shell initialization files - check them for 'PATH=...' entries,
         it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
         to fix temporarily in this shell session run: 'rvm use ruby-2.3.3'.
Warning, new version of rvm available '1.29.9-next', you are using older version '1.28.0'.
You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.15/x86_64/ruby-2.4.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system....................................................................|
Installing required custom packages: homebrew/dupes homebrew/dupes.
Error running 'requirements_osx_brew_install_custom homebrew/dupes homebrew/dupes',
showing last 15 lines of /Users/adam/.rvm/log/1584798412_ruby-2.4.2/install_custom.log
    do
        brew tap "${__tap}" || return $?;
    done
}
GEM_HOME=/Users/adam/.rvm/gems/ruby-2.3.3
PATH=/Users/adam/Library/Android/sdk/platform-tools:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/adam/.rvm/gems/ruby-2.3.3/bin:/Users/adam/.rvm/gems/ruby-2.3.3@global/bin:/Users/adam/.rvm/rubies/ruby-2.3.3/bin:/Users/adam/.rvm/bin:/Users/adam/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Postgres.app/Contents/Versions/latest/bin:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin
GEM_PATH=/Users/adam/.rvm/gems/ruby-2.3.3:/Users/adam/.rvm/gems/ruby-2.3.3@global
command(3): requirements_osx_brew_install_custom homebrew/dupes homebrew/dupes
++ typeset __tap
++ for __tap in '"$@"'
++ brew tap homebrew/dupes
Updating Homebrew...
Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
++ return 1
Requirements installation failed with status: 1.

你知道如何克服这个问题吗?

你可以看看网站上已经回答过的问题,这是否回答了你的问题?