search for: bugutang

Displaying 1 result from an estimated 1 matches for "bugutang".

2010 Jun 10
0
strange problem:no such file to load -- nokogiri on rails3
...============================ env :rails 3 beta4, ruby 1.8.7, ubuntu ============================ test.rb ============================ require ''rubygems'' require ''nokogiri'' require ''open-uri'' require "iconv" url = "http://www.bugutang.com" doc = Nokogiri::HTML(open(url)) doc.css("title").each do |c| puts Iconv.iconv("GBK//IGNORE", "UTF-8//IGNORE", c.content) end ============================ claw.rake ============================ desc "Fetch product " task :claw =>...