nokogiri install error

An error occurred while installing nokogiri (, and Bundler cannot continue.
Make sure that `gem install nokogiri -v ‘’` succeeds before bundling.

Well this was a pain. I tried a lot of solutions such as;

rvm use system

rvm use 2.2.3 –default

Then a bunch of stack exchange solutions. But none of the solution worked.

What did work

Simple… I got the idea from using the system’s installed version of ruby, but anyhow, since I wasn’t getting other weird El Capitan related errors, I did this, voila:

bundle config build.nokogiri –use-system-libraries

Cherokee installation error

Cherokee installation errorWhen setting up a webserver on a Raspberry Pi v.2, running Raspian OS, you can choose Apache or go for something a little lighter. If you follow the instrutions from the Raspberry Pi website you will encounter a Cherokee installation error.

I havent found anything that is light and will work on Raspian except Cherokee.

I encountered a cherokee installation error and I had a few other issues installing it. If you read the documentation on you will find some “solutions” that just don’t work.

If you follow the instructions there, you will end up (at some point) getting this Cherokee installation error:

pi@raspberrypi ~ $ sudo apt-get install cherokee
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package cherokee is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package ‘cherokee’ has no installation candidate

How to fix the Cherokee installation error

The only way I found out how to do it is as follows, get “autoconf”, “automake” and “libtool”:

sudo apt-get install autoconf automake libtool

Get “git”:

sudo apt-get install git

Check out Cherokee from Github:

git clone –recursive

The change directory to the webserver directory you just downloaded:

cd webserver

Run this script

./ [options]

If it tells you there is no file or directory (/usr/bin/env: python2: No such file or directory)

sudo ln -s /usr/bin/python2.7 /usr/bin/python2

Then run the script again. Then run “make” and “make install”.

Let me know how it goes.

Testing Visual Web Optimizer

visual web optimizerThe one and only reason I have this website is to test out theories, ramble incoherently and to see if I can quickly deploy something that I want to use in business. It’s the one and only reason I have a blog, no vanity, honestly. I think 99% of the times I am too lazy to RTFM so I like to experiment here. This is the reason this site is constantly dying and exploding. I am testing Visual Web Optimizer.

Orange Donglebangs are a prime example of what I’m talking about.

Anyway, I have to keep rambling on about something to meet the 300 word criteria to make sure this article gets indexed and stays in a search engine. What a pain in the arse.

The reason for writing this post is to announce that I am testing  Visual Web Optimizer and as such, I shall ramble on.

We (our company, check my LinkedIn for who “we” are) were recently approached by a company that sells the service on a much larger enterprise level for bazillions of beer tokens. I know we won’t get the buy in for this until we do proof of concept. So this is the start of it by using a scaled down version with much simpler (and consequently cheaper) functional capabilities. I’ve used services before that have split/multivariate testing capabilities but VWO (Visual Web Optimizer) does a little more, for example:

  • A/B Testing
  • Multivariate Testing
  • Behavioural targeting
  • Heatmaps
  • Usability testing

I have 29 days left to test it. Thanks for reading this, you’re testing it as we speak. It’s pretty hard to write 300 words and I’m stuck at around 200 at this point, but by the time I have gone back and edited it and actually fixed the rambling a bit it will probably be way more that 200 words, thus rendering that reference completely useless. Shit happens.

Question: Can we push this into a small project scenario, is it viable?

Good question, I guess I’ll let you know at the end of the 30 day trial, or possibly not (since followup for this is for me only).

Vancouver Island Earthquake

British Colombia residents have been waiting for the big quake that is destined to rock the west coast, but today on Vancouver Island they felt a 6.7 quake at 12.41pm (6 minutes ago from when I typed this!) Don’t fret, the Vancouver Island Earthquake happened and the island is still there!

The good news is that there is no major damage reported from the Vancouver Island Earthquake, but not only that, smaller quakes in the vicinity of the west coast are in fact a good thing. It means the tectonic pressure is being released and in fact can prevent a large earthquake happening in the future. Alas, it could also mean that there may be more earthquakes coming.

Vancouver Island Earthquake 1946

Vancouver Island earthquake in 1946

Vancouver Island has seen its share of big earthquakes. In fact, back in 1946, an earthquake measuring 7.3 was recorded on June 23rd. Two deaths were recorded from this quake, who’s epicenter was located on the aptly named Forbidden Plateau area of central Vancouver Island, west of Courtenay and Campbell River. This quake was felt as far away as Oregon in the States.

The two deaths were from a capsizing boat and a heart attack. Vancouver Island residents were scared and many ran out into the streets in terror. Luckily, today’s earthquake was not so fatal and buildings seemed to hold together, unlike in 1946 when there was extensive damage to buildings, such as the Bank of Montreal building (below).

1946 Earthquake damage on Vancouver Island

Picture of the Bank in 1946

Many people were concerned that Vancouver Island may break off and sink, but today’s quake just proves how ridiculous that idea is. In a really big earthquake, it is quite possible that the seafloor that is just offshore from the island may be lifted up and it is possible that the coastal area could sink and at the worst, the sinking would be only a few meters. Residents living at the beach may experience some flooding but the likelihood of the island crumbling into the sea is not very likely at all.  Land slides in the ocean itself is possible which may cause smaller scale tsunami type affects which may contribute to localised flooding.

A relatively small Vancouver Island earthquake

All in all, a relatively small quake similar to the ones we feel here in Central America and no reports of major damage or loss of life.

Finding Max Thurman

Alyssa and I have a Bichon Frise. His name is Max Thurman (Jacobs). The Bichon Frise breed originated from the Mediterranean area in Europe.

They are such a happy breed and are happy to potter around amusing themselves and thus were often traded amongst sailors and were eventually introduced to their rightful place in Italian nobility nonetheless!

Stating that Max Thurman is a dog is both obvious and insult to Max. The fact of the matter is, Max is rather human-like and has a lot of dog-like tendencies.

Bichon Frise and allergies

I myself am terribly allergic to dog and cat hair but with our dog Max, I find that these symptoms aren’t really present. The breed is known to be allergy-friendly and where most people claim they are hypoallergenic they aren’t quite this way, unless groomed regularly to remove the loose hair and dander.

I think I can spot a correlation between the times when I’m feeling prone to allergy when Max needs a haircut and grooming session.

You can read more about the Bichon Frise breed and allergies here.

Finding Max Thurman!

Now, recently, whilst Google searching for “Max Thurman” I found that pictures of my dog weren’t indexed. Shame, because I have so many. So I thought that I should take steps to rectify this. Alas, project “Finding Max Thurman!” has begun here, with this blog post.

Let’s start off with a photo that’s an oldie but a good one of Max Thurman and his very funny front teeth.
Max ThurmanWe were in bed with our dog-like human dog, which isn’t a strange occurrence and we discovered we can do something like a ventriloquy act with Max Thurman by moving his lips.

Endless minutes of fun ensued and several photographs later we finally snapped up a good one that wasn’t blurry or had terrible lightning!

Anyway, this is Max Thurman. An endless source of entertainment for Alyssa and myself.


Article Marketing is bad SEO strategy

A lot of the articles and videos produced by Google and Matt Cutts give an insight into where Google are going with how they determine search rankings.

If Article Marketing is something that you put a lot of effort into, then I’d suggest looking at other strategies as this isn’t going to be a sustainable SEO strategy. Last week, Matt released this video in response to the question:

“Do you recommend article marketing as an SEO strategy and how are the backlinks treated when other websites republish the same article?”

WordPress Plugins in 2011 with JetPack

A few changes have occurred lately for me and and my self-hosted WordPress adventure.

First of all, “WordPress SEO” (read more here) by Joost de Valk is FAR superior than than “All in One SEO“, it also does the XML sitemap and the SEO (better than all in one). In fact, the SEO is done in a better and more intuitive way with multi-step recommendations.

As for the “AddThis Social Bookmarking Widget“, delete this. It’s pretty terrible because of the JavaScript loading times and the dependency on that JavaScript to be loaded. In my opinion, install’s “JetPack” and put their share widget in there (it’s way better and coming from a better and faster download source).

Can’t beat “Flagrant Disregard’s Feedburner Plugin“, you should be using this.

Must have plugins

  1. Google Analyticator
  2. WordPress SEO
  3. JetPack
  4. Flagrant Disregard’s Feedburner Plugin

TL;DR (summary)

Less plugins are good, because:

  1. less to update
  2. less to debug
  3. less to manage
  4. easier to install again on other WP sites

Installing JetPack will save you a lot of time in the future as Automattic are going to eventually be adding all the good functionality, availability and extensibility of the plugins at

More about JetPack

Check out JetPack, read more about it on WP Founder Matt Mullenweg’s blog and the ultimately important link.