From d9e218327efe95b035b18b1d0db95580e95b619f Mon Sep 17 00:00:00 2001 From: Arcueid Date: Sat, 11 May 2024 14:11:09 +0800 Subject: [PATCH] update config --- dotfiles/zsh/.env | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dotfiles/zsh/.env b/dotfiles/zsh/.env index 6b549f5..29e2702 100644 --- a/dotfiles/zsh/.env +++ b/dotfiles/zsh/.env @@ -163,8 +163,15 @@ fi append_path "$HOME/.local/bin" # ruby -if [[ $(command_exists rbenv) == true ]]; then - eval "$(rbenv init - zsh)" +# if [[ $(command_exists rbenv) == true ]]; then +# eval "$(rbenv init - zsh)" +# fi +# for brew installed ruby +if [ -d /usr/local/opt/ruby/bin ]; then + prepend_path "/usr/local/opt/ruby/bin" + export LDFLAGS="-L/usr/local/opt/ruby/lib" + export CPPFLAGS="-I/usr/local/opt/ruby/include" + export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig" fi # flutter