title: gem install nokogiri -v '1.5.11' failed due to make: /usr/local/bin/gmkdir: No such file or directory
body: <blockquote>
  <p>Ruby version: 2.2.5</p>
  <p>Mac OSX: 10.11.5</p>
  <p>Gem version: 2.4.8</p>
  <p>Bundler version: 1.12.5</p>
  </blockquote>
  <p>When I run <code>gem install nokogiri -v '1.5.11'</code>, I got the following error:</p>
  <pre><code>Building native extensions. This could take a while...
  ERROR:  Error installing nokogiri:
  ERROR: Failed to build gem native extension.
  
  /Users/hwpeng/.rvm/rubies/ruby-2.2.5/bin/ruby -r ./siteconf20160707-31800-1ejznjc.rb extconf.rb
  
  ====ignored multiple lines====
  
  make &quot;DESTDIR=&quot; install
  make: /usr/local/bin/gmkdir: No such file or directory
  make: *** [.RUBYARCHDIR.-.nokogiri.time] Error 1
  
  make install failed, exit code 2
  </code></pre>