This is memo for jekyll command and organization in this blog.
memo for jekyll command
$ octopress new post "New Post Title" --dir posts
memo for post image size in tat306
feature: 1280 x 640 teaser: 400 x 250
image file name: pos_R_tNewFileName.png (pos=post, R=Reseach, t=teaser(f=feature))
memo for RubyGems Command
- Install/Uninstall gem
$ gem install jekyll
$ gem uninstall jekyll
- Install specific version of gem
$ gem install jekyll --version 2.4.0
- Uninstall specific version of gem
$ gem uninstall jekyll --version 2.5.2
- Remove all old versions of jekyll
$ gem cleanup jekyll
- Other Command
$ gem list --local //List all local gem
$ gem list --all //List all versions of gem
$ gem list jekyll //List gem with specific name
$ gem update //Update installed gem
$ gem update --system //Update installed system gem
If your Jekyll serve or build gets broken
WARN: Unresolved specs during Gem::Specification.reset:
redcarpet (~> 3.1)
jekyll-watch (~> 1.1)
classifier-reborn (~> 2.0)
WARN: Clearing out unresolved specs.
Try this code
$ sudo gem cleanup && bundle install
then, you can type “gem list –all”
- jekyll 5.1.0, 5.1.1, 5.1.2, 5.1.3, 5.1.4 (and more) are buggy. You should install jekyll 2.4.0.
.