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