<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[matthewbarram - Medium]]></title>
        <description><![CDATA[Matthew Barram Blog - Medium]]></description>
        <link>https://medium.com/matthewbarram?source=rss----cfc9863cc5b1---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>matthewbarram - Medium</title>
            <link>https://medium.com/matthewbarram?source=rss----cfc9863cc5b1---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:54:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/matthewbarram" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Issue with eventmachine install El Capitan and macOS Sierra]]></title>
            <link>https://medium.com/matthewbarram/issue-with-eventmachine-install-el-capitan-6e84f843d01c?source=rss----cfc9863cc5b1---4</link>
            <guid isPermaLink="false">https://medium.com/p/6e84f843d01c</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[bundler]]></category>
            <dc:creator><![CDATA[Matthew Barram]]></dc:creator>
            <pubDate>Tue, 17 Jan 2017 04:59:37 GMT</pubDate>
            <atom:updated>2017-01-17T05:00:05.233Z</atom:updated>
            <content:encoded><![CDATA[<p>Today when I was installing a new project on my machine I got the error below:</p><pre>gem install eventmachine -v ‘1.0.4’<br>Building native extensions. This could take a while…<br>ERROR: Error installing eventmachine:<br> ERROR: Failed to build gem native extension.</pre><pre>/Users/matthewbarram/.rbenv/versions/2.1.4/bin/ruby extconf.rb<br>checking for rb_trap_immediate in ruby.h,rubysig.h… no<br>checking for rb_thread_blocking_region()… yes<br>checking for ruby/thread.h… yes<br>checking for rb_thread_call_without_gvl() in ruby/thread.h… yes<br>checking for inotify_init() in sys/inotify.h… no<br>checking for __NR_inotify_init in sys/syscall.h… no<br>checking for writev() in sys/uio.h… yes<br>checking for rb_thread_fd_select()… yes<br>checking for rb_wait_for_single_fd()… yes<br>checking for rb_enable_interrupt()… no<br>checking for rb_time_new()… yes<br>checking for sys/event.h… yes<br>checking for sys/queue.h… yes<br>creating Makefile</pre><pre>make “DESTDIR=” clean</pre><pre>make “DESTDIR=”<br>compiling binder.cpp<br>In file included from binder.cpp:20:<br>./project.h:112:10: fatal error: ‘openssl/ssl.h’ file not found<br>#include &lt;openssl/ssl.h&gt;<br> ^<br>1 error generated.<br>make: *** [binder.o] Error 1</pre><pre>make failed, exit code 2</pre><pre>Gem files will remain installed in /Users/matthewbarram/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.4 for inspection.<br>Results logged to /Users/matthewbarram/.rbenv/versions/2.1.4/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-15/2.1.0-static/eventmachine-1.0.4/gem_make.out</pre><p>The fix as per <a href="http://d.pr/1kJqn">this post</a> was to reinstall with this flag:</p><pre>gem install eventmachine -v &#39;1.0.4&#39; — — with-cppflags=-I/usr/local/opt/openssl/include </pre><p>This worked!</p><p><strong>UPDATE: 17 January 2017 </strong>→ The previously mentioned fix does not appear to work but the <a href="https://github.com/eventmachine/eventmachine/issues/602#issuecomment-162376886">updated command</a>:</p><pre>PKG_CONFIG_PATH=”$(brew — prefix openssl)/lib/pkgconfig” gem install eventmachine -v &#39;1.0.4&#39;</pre><p>I also reinstalled OpenSSL with Brew before running this.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6e84f843d01c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/matthewbarram/issue-with-eventmachine-install-el-capitan-6e84f843d01c">Issue with eventmachine install El Capitan and macOS Sierra</a> was originally published in <a href="https://medium.com/matthewbarram">matthewbarram</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>