title: Cannot connect PhantomJS and Poltergeist in Rails application
body: <p>I've followed the instructions on Poltergeist github page but i keep getting an error that my PhantomJS version is wrong.</p>
  
  <p>Specifically, it says:</p>
  
  <pre><code>Could not find an executable 'phantomjs' that matched the requirements '~&gt; 1.8', '&gt;= 1.8.1'. Found versions were {"/home/marko/projects/irs_machine/bin/phantomjs"=&gt;"50"}.
  </code></pre>
  
  <p>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.</p>
  
  <p>Googling for the error returns nothing of use.</p>
  
  <p>Any ideas?</p>