起きたこと omniauth-twitter gem を入れようとしたら、以下のような感じで怒られる。 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /Users/nomura/repos/tsun-doc/vendor/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator /Users/nomura/.rbenv/versions/2.4.0/bin/ruby -r ./siteconf20170103-627-1wq7y31.rb extconf.rb creating Makefile current directory: /Users/nomura/repos/tsun-doc/vendor/bun
![Ruby 2.4.0 で json gem v1.8.3 をビルドできない問題 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/a01e0c6830210780f3461e978e5396f2993b76fc/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9UnVieSUyMDIuNC4wJTIwJUUzJTgxJUE3JTIwanNvbiUyMGdlbSUyMHYxLjguMyUyMCVFMyU4MiU5MiVFMyU4MyU5MyVFMyU4MyVBQiVFMyU4MyU4OSVFMyU4MSVBNyVFMyU4MSU4RCVFMyU4MSVBQSVFMyU4MSU4NCVFNSU5NSU4RiVFOSVBMSU4QyZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTU2JnM9MTZmODFhNjM1ZGNmMjY2YTY4NWFjZjQzMDk4MTI3Mjg%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBzaGluaWNoaW5vbXVyYSZ0eHQtY29sb3I9JTIzMjEyMTIxJnR4dC1mb250PUhpcmFnaW5vJTIwU2FucyUyMFc2JnR4dC1zaXplPTM2JnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnM9MTRhNjNiMDc5YjYyZDQ2ZDk0Y2FlNTg2MjRlZDU1NWQ%26blend-x%3D142%26blend-y%3D436%26blend-mode%3Dnormal%26txt64%3DaW4g5qCq5byP5Lya56S-44Kv44Op44Km44OJ44Ov44O844Kv44K5%26txt-width%3D770%26txt-clip%3Dend%252Cellipsis%26txt-color%3D%2523212121%26txt-font%3DHiragino%2520Sans%2520W6%26txt-size%3D36%26txt-x%3D156%26txt-y%3D536%26s%3D179f5a82ecea42ccfd38073c10eaaf1d)