Recientemente cambié de RVM a RBENV como mi administrador Ruby en MacOS Sierra.
$ rbenv version
2.3.1 (set by /Users/meltemi/.rbenv/version)
$ which ruby
/Users/meltemi/.rbenv/shims/ruby
He usado Homebrew para instalar paquetes como vim
durante años y nunca tuve la versión de Ruby instalada a través de Homebrew.
Ahora, cuando brew upgrade vim
obtengo una instalación de Ruby por dependencia forzada.
==> Upgrading vim
==> Installing dependencies for vim: ruby
==> Installing vim dependency: ruby
==> Downloading https://homebrew.bintray.com/bottles/ruby-2.3.1_2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ruby-2.3.1_2.sierra.bottle.tar.gz
Error: The 'brew link' step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/rake
Target /usr/local/bin/rake
already exists. You may want to remove it:
rm '/usr/local/bin/rake'
To force the link and overwrite all conflicting files:
brew link --overwrite ruby
To list all files that would be deleted:
brew link --overwrite --dry-run ruby
Possible conflicting files are:
/usr/local/bin/rake
/usr/local/bin/rdoc
/usr/local/bin/ri
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/ruby
==> Summary