I cannot implode rvm. [MacBook-Pro-10:~/apache/git/whimsy] clr% rvm implode Required ruby-2.4.1 is not installed. To install do: 'rvm install "ruby-2.4.1"'
But I try to brew install ruby. It would only get me 2.7.1 but it doesn't work either. I do have docker installed so i can give that a try if I cannot get a 2.4 version of ruby. Craig [MacBook-Pro-10:~/apache/git/whimsy] clr% brew upgrade ruby ==> Upgrading 1 outdated package: ruby 2.3.1 -> 2.7.1_2 ==> Upgrading ruby 2.3.1 -> 2.7.1_2 ==> Installing dependencies for ruby: libyaml ==> Installing ruby dependency: libyaml ==> Downloading https://homebrew.bintray.com/bottles/libyaml-0.2.4.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring libyaml-0.2.4.mojave.bottle.tar.gz 🍺 /usr/local/Cellar/libyaml/0.2.4: 10 files, 300.6KB ==> Installing ruby ==> Downloading https://homebrew.bintray.com/bottles/ruby-2.7.1_2.mojave.bottle.tar.gz ==> Downloading from https://akamai.bintray.com/d5/d597bee751f9419ea7b40d8125e4f58b2c1eb675b929fe85d8463a6e008b2250?__gda__=exp=1589407606~hmac=7e2c9a4deb10bf88d31f39c705e ######################################################################## 100.0% ==> Pouring ruby-2.7.1_2.mojave.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/bundle Target /usr/local/bin/bundle already exists. You may want to remove it: rm '/usr/local/bin/bundle' 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/bundle /usr/local/bin/bundler /usr/local/bin/rake ==> Caveats By default, binaries installed by gem will be placed into: /usr/local/lib/ruby/gems/2.7.0/bin You may want to add this to your PATH. ruby is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have ruby first in your PATH run: echo 'setenv PATH /usr/local/opt/ruby/bin:$PATH' >> ~/.tcshrc For compilers to find ruby you may need to set: setenv LDFLAGS -L/usr/local/opt/ruby/lib; setenv CPPFLAGS -I/usr/local/opt/ruby/include; For pkg-config to find ruby you may need to set: setenv PKG_CONFIG_PATH /usr/local/opt/ruby/lib/pkgconfig; ==> Summary 🍺 /usr/local/Cellar/ruby/2.7.1_2: 20,142 files, 31.9MB Removing: /usr/local/Cellar/ruby/2.3.1... (1,260 files, 19.0MB) ==> Checking for dependents of upgraded formulae... ==> No dependents found! ==> Caveats ==> ruby By default, binaries installed by gem will be placed into: /usr/local/lib/ruby/gems/2.7.0/bin You may want to add this to your PATH. ruby is keg-only, which means it was not symlinked into /usr/local, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have ruby first in your PATH run: echo 'setenv PATH /usr/local/opt/ruby/bin:$PATH' >> ~/.tcshrc For compilers to find ruby you may need to set: setenv LDFLAGS -L/usr/local/opt/ruby/lib; setenv CPPFLAGS -I/usr/local/opt/ruby/include; For pkg-config to find ruby you may need to set: setenv PKG_CONFIG_PATH /usr/local/opt/ruby/lib/pkgconfig; > On May 13, 2020, at 2:48 PM, Sam Ruby <ru...@intertwingly.net> wrote: > > On Wed, May 13, 2020 at 5:38 PM Craig Russell <apache....@gmail.com> wrote: > >> I think I'm in a loop: >> [MacBook-Pro-10:~/apache/git/whimsy] clr% ~/.rvm/scripts/rvm install >> "ruby-2.4.1" >> Required ruby-2.4.1 is not installed. >> To install do: 'rvm install "ruby-2.4.1"' >> > > Recommendation: > > rvm implode > brew install ruby > > Explanation: > > rvm solves the problem of "I want to run multiple versions of Ruby". > > brew solves the problem of "I want to run a recent version of Ruby" > > I think brew is a better match to your needs. > > If you do want to run multiple versions of Ruby, try rbenv instead: > > https://github.com/apache/whimsy/blob/master/MACOSX.md#upgrade-ruby-if-needed > > - Sam Ruby Craig L Russell c...@apache.org