gayanW / blog

Linux Developer Space πŸ§β˜„

Home Page:https://www.linuxdeveloper.space/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

To use a locally stored Ruby Gem

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 locally

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.

Deploy

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.

Theme

When change is made to jekyll-theme-linuxdev repository, do a bundle install, or update the revision value in Gemfile.lock manually.

References

About

Linux Developer Space πŸ§β˜„

https://www.linuxdeveloper.space/


Languages

Language:HTML 80.9%Language:Ruby 10.4%Language:Shell 8.7%