I've followed the instructions on Poltergeist github page but i keep getting an error that my PhantomJS version is wrong.

Specifically, it says:

```
Could not find an executable 'phantomjs' that matched the requirements '~> 1.8', '>= 1.8.1'. Found versions were {"/home/marko/projects/irs_machine/bin/phantomjs"=>"50"}.

```

Now, I have downloaded phantomjs v1.8.1 (and later v1.9.2) so the version is correct. This is really driving me crazy. I use Ubuntu 13.04, but I doubt that's the reason.

Googling for the error returns nothing of use.

Any ideas?