My primary dev machine (odd as this may sound) is my Android phone. It’s always with me, and it’s plenty capable for jotting down quick notes like this one.

For any development on Android, you’ll of course need to install Termux.

To run a Jekyll build (or even serve!) on Termux, I just needed to do a couple things:

  1. pkg install ruby
  2. gem install bundler
  3. Add the following line to your Gemfile:
gem "webrick", "~> 1.7"

This line explicitly asks for a hidden dependency.

And that’s it! Just bundle install and bundle exec jekyll serve as you normally would.

Happy Jekylling on-the-go!