ruby-install

How to uninstall ruby installed by ruby-install

左心房为你撑大大i 提交于 2021-02-07 11:16:27
问题 I have many rubies installed by ruby-install under ~/.rubies : ls .rubies ruby-1.9.3-p545 ruby-2.0.0-p598 ruby-2.1.3 ruby-2.1.5 ruby-2.0.0-p451 ruby-2.1.2 ruby-2.1.4 ruby-2.2.0 I want to uninstall one of the ruby installed by ruby-install, How do I do that? 回答1: Unfortunately appears that ruby-install just downloads and compiles Ruby, with no option to remove it, unlike RVM or rbenv . So, probably you'll need to run some manual commands here to delete all installed files. 1. Locate it Usually

Why “ruby-install ruby” fails with: “E: Couldn't find package build-essential”?

寵の児 提交于 2019-12-13 05:49:39
问题 I've installed ruby-install like this: brew install ruby-install But, when I try to install ruby it fails: $ ruby-install ruby >>> Installing ruby 2.1.1 into /Users/mishamoroshko/.rubies/ruby-2.1.1 ... >>> Installing dependencies for ruby 2.1.1 ... Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package build-essential !!! Installing dependencies failed! I'm on Mac OSX 10.9.2. Any ideas? 回答1: Apparently, apt-get was the first in ruby-install 's package manager