Update : It's obviously not this blog, it's about my old blog. This was a whole different ballgame. Maybe I'll write about this too sometime.
This is it. Finally set this up. But then why do I have a blog post explaining it? Maybe for the people who come after, trying to figure out the same errors. Maybe it's for me. I forget. Idk, let's just keep this here.
Step 1 : Get homebrew.
I really, really hope you have homebrew. It's a fantastic package manager. And a pain. You can install homebrew from here.
Step 2 : Betray the Ruby.
macOS comes with it's own ruby installation, if you paid attention to the brew installation, you'd have seen it. Well, time to remove it.
rm -rf /usr/bin/ruby
Step 3 : Install new ruby
Now install ruby with brew
brew install ruby
It'll show up a couple of exports parameters, make sure you add them to your ~/bash_profile.
Extra Steps : LLVM and GCC
Brew llvm and gcc also cause conflicts with Jekyll installations.
brew uninstall llvm && brew install gcc@8
You should be set now.
Install Bundler and run bundle install in your Jekyll theme folder
gem install bundler
Voila!