From 1348e52eb242ac5b3e507e0fec69b3444bd94877 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Tue, 19 Jan 2021 10:03:58 -0500 Subject: [PATCH] fix ruby --- zsh/aliases.zsh | 2 +- zsh/path.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 9d98902..be55fca 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -67,7 +67,7 @@ update() { echo -e "${YELLOW}Updating Ruby gems...${NC}" gem update --system gem update - gem upgrade --user-install + # gem upgrade --user-install gem cleanup # https://stackoverflow.com/a/3452888 diff --git a/zsh/path.zsh b/zsh/path.zsh index 56646e4..9a25e45 100644 --- a/zsh/path.zsh +++ b/zsh/path.zsh @@ -8,7 +8,7 @@ export PATH="$GOPATH/bin:$PATH" export PATH="$GOROOT/bin:$PATH" # Ruby -export RUBY_HOME=/usr/local/opt/ruby/bin +export RUBY_HOME=/usr/local/opt/ruby@2.7/bin export GEM_PATH=/usr/local/lib/ruby/gems/2.7.0 export PATH="$RUBY_HOME:$PATH" export PATH="$GEM_PATH/bin:$PATH"