Fixed nokogiri to 1.5.x for Ruby 1.8.7