mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-04-26 03:45:21 -04:00
fix ruby
This commit is contained in:
parent
c2c88029ed
commit
1348e52eb2
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user