title: Installing zmq gem on Mountain Lion
body: <p>Installed zmq via homebrew.</p>
  
  <p>Then tried to run:</p>
  
  <pre><code>$ sudo gem install zmq -- --with-zmq-dir=/usr/local
  Building native extensions.  This could take a while...
  ERROR:  Error installing zmq:
      ERROR: Failed to build gem native extension.
  
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb --with-zmq-dir=/usr/local
  checking for zmq.h... yes
  checking for zmq_init() in -lzmq... no
  checking for zmq_init() in -lzmq... no
  extconf.rb:36: Couldn't find zmq library. try setting --with-zmq-dir=&lt;path&gt; to tell me where it is. (RuntimeError)
  
  
  Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/zmq-2.1.4 for inspection.
  Results logged to /Library/Ruby/Gems/1.8/gems/zmq-2.1.4/gem_make.out
  </code></pre>
  
  <p>Any ideas?</p>