Skip to content

Instantly share code, notes, and snippets.

@jdtoy
Last active August 29, 2015 13:57
Show Gist options
  • Save jdtoy/9529932 to your computer and use it in GitHub Desktop.
Save jdtoy/9529932 to your computer and use it in GitHub Desktop.
Downgrading Jekyll to use CLI
wget --no-check-certificate https://github.com/mojombo/jekyll/archive/v0.11.2.tar.gz > jekyll-0.11.2.tar.gz
tar -zxf jekyll-0.11.2.tar.gz
tar -zxf v0.11.2.tar.gz
cd jekyll-0.11.2
gem build jekyll.gemspec
sudo gem install jekyll-0.11.2.gem
Installed in:
/Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin/jekyll
Loclly building docs:
/Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin/jekyll --pygments --server --auto --url ""
or (build everything to force an update):
/Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin/jekyll --pygments --url ""; /Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin/jekyll --pygments --server --auto --url ""
During release process, run this on the command line during the setup phase of releasing:
PATH=/Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment