Upgrade Rails to 4.1.7, which comes with security fixes.
Upgrade nokogiri to 1.6.4, which comes with security fixes.