updating for newer ruby, nokogiri, datamapper