How to fix bundle install after switching to zsh?

Viewed 108

I recently switched from hdd to ssd so i had to reinstall everything from scratch since i wanted a clean ssd and not a clone of the hdd. I am trying to set my website locally but after switching from bash to zsh (using oh my zsh), I am getting the following errors when trying to bundle install (see picture). I have tried everything i found on the internet but nothing seems to fix the errors that pop when trying to manually installing eventmachine and http_parser.

https://i.stack.imgur.com/tEI32.png

Do i have to switch back to bash and reinstall everything? (a.i ruby, yarn etc.)

Thank you.

1 Answers

Fix : Deleting path for ruby gems from .bash_profile and adding it to .zshrc.

export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"
Related