From 04816d02e83d03bc49d6a7a7f2699cc5e7332241 Mon Sep 17 00:00:00 2001 From: Alex Bazlinton Date: Wed, 18 Nov 2020 14:50:35 +0000 Subject: [PATCH] remove ruby --- mac | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/mac b/mac index e19e90782..1e7cc02db 100755 --- a/mac +++ b/mac @@ -144,8 +144,6 @@ brew "tree" # Programming languages brew "node" -brew "rbenv" -brew "ruby-build" brew "python" # Fix for forcing java8 install @@ -193,30 +191,7 @@ export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/ EOF code --install-extension ms-vsliveshare.vsliveshare -fancy_echo "Configuring Ruby ..." -find_latest_ruby() { - rbenv install -l | grep -v - | tail -1 | sed -e 's/^ *//' -} - -ruby_version="2.6.5" -# shellcheck disable=SC2016 -append_to_zshrc 'eval "$(rbenv init - --no-rehash)"' 1 -eval "$(rbenv init -)" - -if ! rbenv versions | grep -Fq "$ruby_version"; then - rbenv install -s "$ruby_version" -fi - -rbenv global "$ruby_version" -rbenv shell "$ruby_version" -gem update --system -gem_install_or_update 'bundler' -number_of_cores=$(sysctl -n hw.ncpu) -bundle config --global jobs $((number_of_cores - 1)) -rbenv rehash -fancy_echo "Skipping rdoc generation when we install a gem" -echo 'gem: --no-rdoc --no-ri' >> ~/.gemrc if [ -f "$HOME/.laptop.local" ]; then fancy_echo "Running your customizations from ~/.laptop.local ..."