Fix gem install on Ruby 1.8.7

Provide 1.8.7 compatible versions of:
 * nokogiri ~> 1.5.10
 * mime-types ~> 1.24