installed Nokogiri gem and fixed store's bug