Explore ruby to run Jekyll
ruby
jekyll
blog
New month resolution
I decided to create a simple static blog.
The only idea is to post every day only one small thing I focused on or being asked for.
-
How to install ruby locally on macOS manual
- install
homebrew
(if you don’t have it):/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- or update if you have it:
brew upgrade
- install
chruby
&ruby-install
:brew install chruby ruby-install xz
- install
ruby 3.1.3
:ruby-install ruby 3.1.3
- configure environment:
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc echo "chruby ruby-3.1.3" >> ~/.zshrc
- look for actual ruby installed:
chruby
- install
jekyll
ruby gem:gem install jekyll
- install/update all required gems
bundle update
- run the local server (
--livereload
since3.7
)bundle exec jekyll serve --trace --livereload
- open in the browser:
open http://127.0.0.1:4000/
intel
cas
links
atomic
ruby
jekyll
blog
scala
markdown
mdoc
java
encapsulation
git
tag
http4s
saml
pac4j
linux
uuidgen
base64
lsof
jps
github
sed
cicd
teaching
laika
enumeratum
database
fp
SQL
interview