—Remedies for gotcha's with GNU Emacs, Org-Mode and Jekyll.
Remedies for gotcha’s encountered while setting up Org-Mode and Jekyll.
Performed on a Mid-2013 MacBook Pro (OS X El Captain 10.11.6).
Install RVM.
Install script obtained from Secure Installation.
Validate RVM installation.
Error: shell_session_update: command not found
Remedy: Install RVM from HEAD. See /bin/bash: shell_session_update: command not found #210.
Install Jekyll.
https://jekyllrb.com/docs/installation/
Install Ruby Gems after using RVM to set up Ruby blogging environment. Doing so ensures that gem update --system
does not affect the Ruby installation installed by Apple.
Install MacPorts nodejs6.
Setup a Python Virtual Environment for the blog.
Not necessary, but I like to keep my Python environments separate.
Install Jekyll.
Used ‘gem install jekyll’.
Error: org-publish-org-to-html is nil
Remedy: Change org-publish-org-to-html to org-html-publish-to-html.
In Emacs, type C-c C-e P x. Prepares my blog entries for use by Jekyll.
Install a theme. I choose the Jekyll-Clean theme.
Run
jekyll serve –baseurl=’’