Theme not Found Locally (MissingDependencyException / Gem::MissingSpecError)

Hello,

First time developing a custom Jekyll theme. Uploaded the gem to rubygems successfully, installed the gem successfully, and set up the theme in the config file. However, when I run bundle exec jekyll serve, I get this error:

The digitalhealthhumanities-toolkit-theme theme could not be found. (Jekyll::Errors::MissingDependencyException)

Later, I get a Gem::MissingSpecError, and lo and behold, the spec hasn’t been installed. I’ve tried updating the gemspec to match more closely with minima, but to no avail.

I checked both my vendors/cache and vendors/cache/ruby/[version]/gems folders, and the gems are present. I’ve seen people report this error, but no solutions. Can anyone help?

theme: GitHub - DigitalHealthHumanities/toolkittheme · GitHub

Website Gemfile:

`source ‘https://rubygems.org

gem ‘github-pages’

gem ‘DigitalHealthHumanities-toolkit-theme’, ‘~> 0.1.6’`

Website: config.yml:

theme: DigitalHealthHumanities-toolkit-theme

Figured it out - for anyone else just starting out with creating Jekyll themes / Ruby gems, don’t use capital letters. Jekyll will get confused.

1 Like