lock nokogiri to 1.6.1, closes #4996