Fix gem install on versions < 1.9.

 * nokogiri ~> 1.5.10
 * mime-types ~> 1.24
Merge pull request #20 from tadejm/fix/installation-on-ruby-18

Fix gem install on Ruby 1.8.7