Quick how-to.
NOTE: Ruby switching complexity has been introduced because GitHub pages uses Jekyll 3.x and Jekyll 3.x does not work with Ruby 3.x
To manage Ruby versions, install chruby and ruby-install. Install the auto-switching feature as well.
ruby-install ruby 2.7
Then, in a new terminal, following GitHub's recommendations, make sure you have bundle
and then, inside the repo:
$ bundle install
To run the dev server:
$ bundle exec jekyll serve
View the site: http://localhost:4000/
If GitHub requires new version of stuff or you get some sort of server error just run:
bundle update
Then retry the local testing.
Be Hacker logo is made by ardactn and licensed under the Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.