0
所以我有rbenv在OSX上安装Homebrew,我似乎无法安装过去的2.4.0。我试图安装2.4.1,但它抱怨它不在rbenv install --list
。我试过brew update && brew upgrade ruby-build
它建议。我卸载了ruby/rbenv/ruby-build并重新安装了它们。我跑了brew doctor
和所有这一切:无法安装rbenv过去2.4.0?
我得到这个时运行在rbenv github上建议的curl
命令。
$ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
Checking for `rbenv' in PATH: /usr/local/bin/rbenv
Checking for rbenv shims in PATH: OK
Checking `rbenv install' support: multiple
You seem to have multiple `rbenv-install' in the following locations.
Please pick just one installation and remove the others.
/usr/local/var/rbenv/plugins/ruby-build/bin/rbenv-install
/usr/local/bin/rbenv-install
Counting installed Ruby versions: 7 versions
Checking RubyGems settings: OK
Auditing installed plugins: warning
rbenv-gem-rehash functionality is now included in rbenv core. Please remove the plugin.
(found in `/usr/local/var/rbenv/plugins/rbenv-gem-rehash/etc/rbenv.d/exec/~gem-rehash.bash')
我不是很熟悉这是什么意思?我认为在过去我可能没有酿造安装rbenv。所以我不完全确定这是否是问题。但我知道我应该能够安装rbenv过去2.4.0。
我以前曾经这样做过。我宁愿坚持使用brew,那么有没有办法可以卸载NON-brew rbenv? – msmith1114
是的,运行'find/-name“rbenv”'来查找所有rbenv的出现。 继续酿造是正确的解决方案。 –
我不完全使用grep精通。有没有一种方法来使用它只能找到安装?当我尝试它时,它会返回任何带有grep文本的东西。 – msmith1114