Check ruby version with ruby -v
and if it returns (ruby 2.6.10p210)
:
- Install Ruby package manager (I chose
frum
)- install a new ruby version with
$ frum install
- its important that we don't
brew install
a newer ruby version so it doesn't clash with the system version
- install a new ruby version with
- Make sure that
frum
is evaluated in the shell environment before you run any of the below commands$ eval "$(frum init)"
$ bundle
only run bundle before running the local server for the first time
For fully regenerative testing:
$ bundle exec jekyll s
alternatively create a script that will verify ruby version and run the above command ->
run.sh
For incremental testing:
$ bundle exec jekyll s --incremental
there is some weirdness sometimes with incremental updating, if something is not updating, run the "fully regenerative" command to "update" everything