This is the source of my homepage https://dsimidzija.github.io/.
rvm
/ bundler
/ rake
At the time of writing, running with ruby-3.4.*
.
$ jekyll serve --incremental --livereload
bundle update
If jekyll-theme-chirpy
is updated, also update the assets:
cd assets/lib
git pull --prune
cd -
If you get:
Can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
Do this:
$ cat Gemfile.lock | grep -A 1 "BUNDLED WITH"
BUNDLED WITH
2.1.4
$ gem install bundler -v '2.1.4'
This happens with google-protobuf
and ffi
gems for some reason. Example error:
...
protobuf_native.rb:15:in 'Kernel#require': cannot load such file -- google/protobuf_c
...
Solution:
gem uninstall PACKAGE_NAME
gem install --platform ruby PACKAGE_NAME
If gem uninstall PACKAGE_NAME
is returning multiple versions of the same package, and one of them ends with
-x86_64-linux
, it should be enough to just remove that.