Last active
August 29, 2015 13:57
-
-
Save jdtoy/9529932 to your computer and use it in GitHub Desktop.
Downgrading Jekyll to use CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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