bundle config local.GEM_NAME /path/to/local/repository
Example
$ bundle config local.jekyll-theme-linuxdev /absolute/path/to/jekyll-theme-linuxdev
The configuaration will be written into ~/.bundle/config
.
To disable the local override:
bundle config --delete local.GEM_NAME
Build with the ruby version used by GitHub Pages
rbenv install 2.7.4
rbenv local 2.7.4
bundle install
However, on Mac M1, it require us to use a slightly newer version of ruby.
rbenv install 2.7.8
rbenv local 2.7.8
bundle install
To run the site locally,
bundle exec jekyll serve
Find the official instructions here.
Site gets auto deployed when a commit is pushed to the master branch. Or we could deploy manually by triggering a build from Travis website.
When change is made to jekyll-theme-linuxdev repository, do a bundle install
, or update the revision value in Gemfile.lock manually.