Het lukt me al de hele dag niet om dit werkend te krijgen.
Ik zit vast in deze fase, wanneer ik bundle install gebruik krijg ik de volgende foutmeldingen:
compiling cppjieba_rb.c
compiling internal.cc make: *** [internal.o] Error 1
make failed, exit code 2
Er is een fout opgetreden bij het installeren van cppjieba_rb (0.4.4) en Bundler kan niet doorgaan.
Ik heb een M4 MacBook Pro. Alle hulp wordt gewaardeerd!
Just finished setting up a dev environment from scratch on a factory-reset MacBook. I used Homebrew for everything I could. Not saying this is the best approach, but thatās my step-by-step:
If new installs donāt show, update shell during stepsexec zsh
Install dependencies with Homebrew
brew install git brew install rbenv
rbenv install ruby 3.4.6 rbenv global 3.4.6 ruby --version
Postgres installation seems a bit fragile. Apparently you can end up with corrupted files and a rather easy approach then is to delete them and install again:
I used to reload shell with source ~/.zshrc until I came across an official FAQ answer How do I reload the zshrc file?. The one of three options I prefer now: