title: Mavericks: Capybara Firefox and Chrome crashes with "Symbol not found: __cg_jpeg_resync_to_restart" error
body: <p>When running Rspec using Capybara I keep getting this error:</p>
  
  <pre><code>Dyld Error Message:
    Symbol not found: __cg_jpeg_resync_to_restart
    Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    Expected in: /Applications/rubystack-2.0.0-12/*/libJPEG.dylib
   in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
  </code></pre>
  
  <p>I'm running under <strong>RubyStack 2.0.0-12</strong>, and have been trying to link the libraries from Mac OS X itself without luck.</p>
  
  <p>If I run <code>/Applications/rubystack-2.0.0-12/ruby/lib/ruby/gems/2.0.0/gems/capybara-webkit-1.1.0/bin/webkit_server</code> or <code>/Applications/Firefox.app/Contents/MacOS/firefox-bin</code> manually under the RubyStack <code>rubyconsole</code>, they start up just fine, but as soon as I use Rspec to run the browsers they crash.</p>
  
  <p>Any ideas what to do?</p>