Installing Jekyll on Mac, Ubuntu and Bash on Windows

I’ve had the ‘pleasure’ of having to install Jekyll on different platforms and thought I’d share the findings.

OS X

This is the easy one. Install HomeBrew and run:

brew install jekyll

Grab a cup of coffee, you’re done!

On Ubuntu and Bash on Windows

Sadly, this one takes a bit more work. Do not run sudo apt-get install jekyll, because it installs an ANCIENT Jekyll (0.11.2), so the first step is to remove that if you’ve got it installed (sudo apt-get remove jekyll).

There’s multiple ways to install, but the easiest I’ve found is adding a custom repository from Brightbox.

sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.2 ruby2.2-dev
sudo gem install iconv posix-spawn mini_magick jekyll

The last step installs necessary gems for Jekyll, although gem ‘mini_magick’ is not strictly necessary.

On Windows you may need to close your terminal and reopen it to update your PATH)

Running Jekyll on Bash on Windows

Filewatchers aren’t working on Bash on Windows yet (in august at least). So if you run in Bash on Windows, you may need to run instead:

jekyll serve --force_polling

This will make sure the HTML/CSS will update when changes are made.

SUDO not working?

Now, on Windows the sudo command may be borked. If you get the error “unable to resolve host NAME”, you’ll need to update your Linux hosts file (which is different from the Windows one). Here’s a guide. Basically, add the host name from /etc/hostname to the file /etc/hosts.

1001ideas.org

Over the years I’ve come up with a lot of different ideas. I try to do something with all of them (like publish them here), but sadly most ideas just end up in a big Google Keep list…

Well, not anymore!

I’ve started a new project where I document my ideas and on top of that, try to implement the idea where possible.

Go ahead and take a look www.1001ideas.org.

Schadenfreude beach

Are you stressed or feeling down? And do you feel better reading about other people’s (first world) problems?

Then I’ve got just the solution for you: schadenfreude beach!

Look at a peaceful scene while reading all the #FML tags from Twitter. Updates come in every 20 seconds, so you have a bit of time to take it all in.

Go on a 30 minute holiday at schadenfreude-beach and relax!

(since it’s raw twitter stuff, it may not be suited for work)

32juan - One picture per hour

So there’s another project for you. It’s part of a larger idea, which I’m still working on. For now this website basically just shows a new ‘funny’ picture every hour…

www.32juan.com

(all pictures are reasonably suited for work)

Blog got a visual update

Just a heads up to my RSS-feed readers: sorry for the mess. I’ve updated the URL-structure to now include the category of the post, which is why the RSS feed got reloaded.

I’ve also updated the blog-styling to now use Hyde. In my opinion it looks a lot better and it’s a lot more comforting to the eyes to read.