brew install rbenv ruby-build
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
rbenv install 3.3.7
rbenv global 3.3.7
rbenv versions
rbenv rehash
ruby --version
gem env
gem install bundler
bundle install # or bundle updatebundle exec jekyll serveThen open http://localhost:4000/ in your browser.
You can develop and preview this Jekyll site in GitHub Codespaces with no local setup required.
- Click the "Code" button in your repository and select "Open with Codespaces".
- Wait for the Codespace to build and install dependencies automatically.
- The Jekyll server will be available at port 4000. You can preview your site in the Codespaces browser.
The development environment is defined in .devcontainer/devcontainer.json and .devcontainer/Dockerfile. You can modify these files to add tools or change settings as needed.