add .DS_Store file to .gitignore
add Nokogiri gem
save xml file working perfectly